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