How do you find P if A=1/2a+P, and you have both the values of a and A?

A - 1/2a = P