Question 942345
Guess-and-check is usually not the most efficient algorithm.


Also, the perimeter is twice the sum of length and width, i.e. P = 2(L+W).


Let W be the width, in cm. Its length is 1 cm less than the width, so L = W-1. Plugging in, we have 106 = 2((W-1)+W) = 2(2W-1) = 4W-2. Adding 2 to both sides, 108 = 4W. Dividing by 4, W = 27. The width is 27 cm and the length is 26 cm.