You can
put this solution on YOUR website!Let x be the length of the shorter leg, then that of the longer one is x + 3.
Applying the Pythagorean Theorem, we have

Solving for x, we have

(divide both sides by 2)

(plug in a=1,b=3,c=-260)

So

Or

(reject this solution as the length can not be negative)
Thus the length of the shorter leg is 14.69 units, and the length of the longer one is x+3=14.69+3=17.69 units