a garden has the shape of a right triangle with one leg 6 meters longer than the other. the hypotenuse is 6 meters less than twice the length of the shorter leg. what is the length of the shorter​ leg?