Two corners of an isosceles triangle are at (7,2) and (3,6). If the triangle's area is 24, what are the lengths of the triangle's sides?