The perimeter P of the rectagle is
[tex]P=2W+2H[/tex]where W is the width and H the height.
By substituting the given values into the perimeter, we have
[tex]20=2\cdot6+2\cdot H[/tex]which is equal to
[tex]20=12+2W[/tex]and we need to isolate W. This can be obtained by moving +12 to the left hand side as -12. It yields,
[tex]\begin{gathered} 20-12=2W \\ 8=2W \end{gathered}[/tex]and finally, W is given by
[tex]\begin{gathered} 2W=8 \\ W=\frac{8}{2} \\ W=4 \end{gathered}[/tex]That is, each of the remaining sides measure 4 cm