Consider a rectangle with a diagonal drawn between two vertices. Two right triangles are formed, each with one leg #5# inches longer than the other. The diagonal measure #25# inches. What do the legs measure?
Since a rectangle is a two dimensional shape with four right angles, we can apply pythagorean theorem.
A negative answer for a leg of a triangle is not possible, so the legs measure
Hopefully this helps!