In a right triangle, the hypotenuse (the biggest side) is always bigger than the others. So we know the two sides are the ones touching the right angle. The area of a triangle is \(A_{tri}=\frac{1}{2}bh\)
We know that \(A\) is 18 and b and h must be the same since it's isosceles, so that means that really, it's \(b^{2}\) instead of \(bh\).
So:
\(18=\frac{1}{2}b^{2}\)
Then solve for \(b\):
\(36=b^{2}\)
\(b=6\)
So the sides are both 6in.