A rectangular dog pen is constructed using a barn wall on one side and 80 meters of fencing on the other three sides. Find the dimensions of the pen that give the greatest area. (example to write an answer: 20m×15m).