The bottom of a rectangular swimming pool has a perimeter of 142 meters and an area of 1,050 square meters. What are the dimensions of the pool?