It depends on what the answer is... But an example is:
(p-3)=21
To do this, add 21 and 3.
Therefore p would equal 24.
It really does depend on what the answer is because if there is no answer, then the variable can't actually be defined.
Hope this helped a bit.