We will represent the length of the rectangle as
and the width as
.
From this problem, we can say
. We can also deduct an equation from the second sentence:

(from substitution)



Using this value for
, we can find
:


The length of the rectangle is 23 cm and the width of the rectangle is 18 cm.