1/25p - 1/2p = 8 - 10 (p?)

1/25 - 1/2 =

2/50 - 25/50 =

-23/50p

\(\dfrac{1}{25}p - \dfrac{1}{2}p=8-10\\ p(\dfrac{1}{25}-\dfrac{1}{2})= -2\\ p=-\dfrac{2}{\dfrac{1}{25}-\dfrac{1}{2}}=-\dfrac{2}{-\dfrac{23}{50}}=\dfrac{100}{23}\)

Hope this helps.

~The smartest cookie in the world