Your solution steps look correct, but the answer was not completed. Given that QR = 33.8 and PQ = 57.6, and Q is the right angle, then tan P = opposite / adjacent = QR / PQ = 33.8 / 57.6 = 0.586.
Then tan P = 0.586
Angle P = tan^-1 (0.586) = 30.4 degrees.