Well there is only one P and it is a constant, so you can call it whatever you want but Pmax is more suitable in this case I think, because the power will never be more than this.
I did some algebra and the best I could do was this:
##x(P,m,t,a) = \frac{m}{3P} \left( \frac{P}{m} \left(2t-...