intermediate algebra
posted by jennifer .
A right triangle has two legs and a hypotenuse. One leg of the triangle is 3 feet longer than the other leg. The hypotenuse is 15 feet. Find the length of each leg.
I got
12 feet and the other leg is 9 feet
Is this correct?

15^2=12^2+9^2
225=144+81
225=225
you are correct