A flag is in the shape of a right triangle. The hypotenuse is 17 meters. The length of one leg is 7 meters less than the other leg. Find the length of both legs. Separate your answers with a comma and don't write the units (ex: 3,4)