$\displaystyle A=\frac{T-ph}{2}$

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.

$\displaystyle A\cdot2+ph=T$

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.