A rectangle's length is 5 cm less than twice its width. If the length is decreased by 5 cm and width is increased by 2 cm; the perimeter of the resulting will be 74 cm. Find the length and width of the original rectangle.