The figure shows a right triangle where one leg has length and the other leg has length . If the area of the triangle is 27 square inches, what is the value of ?

Note: The lengths shown in the figure are illustrative and do not represent and numerically.