In how many $6$ letter permutation of the word "pirayes" ,"r" is some where before "p"?
We should have "r" and "p" for permuting the other letters we have $P^{6}_4$ cases consider that the case is like"iaye" now for "r" we have $5$ cases and we have $6$ cases for "p" and also the cases that "p" is before "r" are equal to the cases that "r" is before "p" so we have $\frac{P^{6}_{4}*5*6}{2}$.The book gave the answer $\frac{P^{6}_{4}*P^{6}_{2}}{2}$ which are equal but I want to know how to get directly the answer $P^{6}_{2}$ when placing "r" and "p" in the rest of the word?