The hypotenuse of a right triangle is twice the length of one of its legs. Th length of the other leg is three feet. Find the lengths of three sides (in feet).