Respuesta :

x=r-p. Maybe I don't understand, but I am assuming that you need to isolate for X? you simply subtract p from both sides.
p+x=r
-p     -p
Answer: x=r-p

Hope this helps.