Your answer for T is correct.
To solve for h, follow these steps:
1. Multiply both sides by 2.
2. Subtract T from both sides.
3. Divide both sides by -p.
Solve for T & h
I can't figure out how to solve for h. I suppose while I'm here, could someone check my awser for T it's as follows.
I used * for times because I didn't know what the latex uses for it.
Edit: I found out how to make the times symbol.