A large swimming pool has a perimeter of 1,004 meters, this rectangular-shaped pool is 40 meters longer than 5 times its width. Find its dimensions.
width