You can
put this solution on YOUR website!The length is 1 cm longer than the width, so if the width is w, the length is w +1. The diagonal of the rectangle forms a right triangle with the length and the width, so Pythagoras says:
Expand the binomial and collect terms:
Use the quadratic formula:

so this won't do as an answer because a rectangle can't have a negative width. So,

is the width.

is then the length.