My problem I have is on shapes which I get really confused on in story type problems and trying to understand how to get the quadratic equation to be able to fit the story and to solve it?

The problem:

The hypotenuse of a right triangle is 6 feet long. One leg is 2 feet shorter than the other. Find the lengths of the legs and round to the nearest tenth of a foot.