You can
put this solution on YOUR website!Let the two legs be x and x+1, then from the Pythagorean theorem, we have:

Subtract 25 from both sides.

Factor out a 2.

so...

Factor this quadratic equation.

and...

or

Discard the negative solution as lengths are positive.

and

The two legs are 3 inches and 4 inches.