The length of a rectangle is 5 times its width. If the length is decreased by 3 meters, and the width is increased by 10 meters, the perimeter will be 374 meters. Find the length of the original rectangle in meters.
Let l represent the length and w represent the width.