Step 1: Write out the formula for the perimeter of a rectangle

Step 2: Write out the given value and substitute them into the formula above

Substituting equation (1) into equation (2), we have

Substituting the value of w into equation(1), we have
![l=4(4)+5=16+5=21\operatorname{cm}]()
Hence, the length is 21 cm and the width is 4cm