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