Question 177180
S=2B+Ph, where B is the area of the base, P is the perimeter of the base, and h is the height of the prism. 
-----------------------------
S=2B+Ph
Ph = S - 2B
h = (S - 2B)/P
====================
Cheers,
Stan H.