It costs $8.50 per person and $25 per hour to rent a meeting room. Let p represent the number of people and h represent the number of hours. The last rental paid for 20 people for 2 hours.

Which shows the expression that represents the total cost and the total cost of the last rental?

A
8.5p + 25h; $220

B
8.5h + 25p; $517

C
170h + 50p; $1,340

D
170p + 50h; $3,400