The length of a rectangle is 5cm less than twice its width. If the length is decreased by 5cm and its width is increased by 2cm, the perimeter of the resulting rectangle will be 74 cm. Find the length of the original rectangle.