When the length of a rectangle is reduced by 5cm and the width is increased by 12cm, it becomes a rectangle, and the perimeter of the rectangle is 100cm less than twice the perimeter of the original rectangle Calculate the length and width of the original rectangle (unit: cm)

When the length of a rectangle is reduced by 5cm and the width is increased by 12cm, it becomes a rectangle, and the perimeter of the rectangle is 100cm less than twice the perimeter of the original rectangle Calculate the length and width of the original rectangle (unit: cm)

Let the side length of a square be X
4X=4×(X+5)+4×(X-12)-100 X=32
Length 37
20 wide