A right triangle has an are of 18 square inches. If the triangle is an isosceles triangle, what are the lengths of the 2 congruent sides of the triangle?