How do you find the lengths of the three legs of the triangle if one leg of a right triangle is 3 more than twice the length of the other and the hypotenuse is 3 times the length of the short leg?