Question: Getting unwanted results in a constrained maximization problem (system of equations). How do I fix this?

I am trying to solve a constrained maximization problem. 

The starting function is the one at the top in bold. Whenever I use (1/2) or (1) as an exponent for either of the variables I get unwanted results. For x2 (below) I am getting that result. I should be getting x2= (3m)/(5P2)

However, whenever I input an exponent that does not equal (1/2), I get the results I want.

 

What am I doing wrong?

Please Wait...