Recall that for integers \(n\ge r\ge 0\),
\[{}^{n}P_r=\frac{n!}{(n-r)!}.\]
Also, \({}^{n}P_r\) is defined only when \(0\le r\le n\).
(i) We must solve
\[{}^{5}P_r=2\,{}^{6}P_{r-1}.\]
For the left side to be defined, \(0\le r\le 5\). For the right side, \(0\le r-1\le 6\), so \(1\le r\le 7\). Together, \(1\le r\le 5\).
Using the formula,
\[\frac{5!}{(5-r)!}=2\cdot\frac{6!}{(6-(r-1))!}=2\cdot\frac{6!}{(7-r)!}.\]
Since \(6!=6\cdot5!\), this becomes
\[\frac{5!}{(5-r)!}=2\cdot\frac{6\cdot5!}{(7-r)!}.\]
Cancel \(5!\) from both sides:
\[\frac{1}{(5-r)!}=\frac{12}{(7-r)!}.\]
Now \((7-r)!=(7-r)(6-r)(5-r)!\), so
\[\frac{1}{(5-r)!}=\frac{12}{(7-r)(6-r)(5-r)!}.\]
Cancel \((5-r)!\):
\[1=\frac{12}{(7-r)(6-r)}.\]
Thus
\[(7-r)(6-r)=12.\]
Expanding,
\[42-13r+r^2=12,\]
\[r^2-13r+30=0.\]
Factor:
\[(r-3)(r-10)=0,\]
so \(r=3\) or \(r=10\). But \(r\) must satisfy \(1\le r\le 5\), so \(r=10\) is rejected.
Therefore,
\[\boxed{r=3}.\]
Check: \({}^{5}P_3=\dfrac{5!}{2!}=60\) and \(2\,{}^{6}P_2=2\cdot\dfrac{6!}{4!}=2\cdot30=60\).
(ii) We must solve
\[{}^{5}P_r={}^{6}P_{r-1}.\]
As before, the left side requires \(0\le r\le 5\), and the right side requires \(1\le r\le 7\). Hence \(1\le r\le 5\).
Using the formula,
\[\frac{5!}{(5-r)!}=\frac{6!}{(7-r)!}.\]
Since \(6!=6\cdot5!\),
\[\frac{5!}{(5-r)!}=\frac{6\cdot5!}{(7-r)!}.\]
Cancel \(5!\):
\[\frac{1}{(5-r)!}=\frac{6}{(7-r)!}.\]
Using \((7-r)!=(7-r)(6-r)(5-r)!\),
\[\frac{1}{(5-r)!}=\frac{6}{(7-r)(6-r)(5-r)!}.\]
Cancel \((5-r)!\):
\[1=\frac{6}{(7-r)(6-r)}.\]
Thus
\[(7-r)(6-r)=6.\]
Expanding,
\[42-13r+r^2=6,\]
\[r^2-13r+36=0.\]
Factor:
\[(r-4)(r-9)=0,\]
so \(r=4\) or \(r=9\). Since \(1\le r\le 5\), we reject \(r=9\).
Therefore,
\[\boxed{r=4}.\]
Check: \({}^{5}P_4=\dfrac{5!}{1!}=120\) and \({}^{6}P_3=\dfrac{6!}{3!}=120\).
Final answers: (i) \(r=3\); (ii) \(r=4\).