You can put this solution on YOUR website! hi,
when you apply some goniometrics it is very simple!
All you have to do is cut the triangle into 2 pieces, two traingles with one angle of 90°. In one of these triangles you can apply simple goniometry:
h=18*cos(60°)