Explanation:
Now, I will explain using both area and perimeter.


Now we can infer that the other 6.25 +5 will have the same sum. Therefore we have to solve this:

Which is:

Now time to solve in the area formula.

Length × Width.
First, we're starting by 6.25 × 5.
Which is 62.5.
Either, he had to pay 62.5$ (I doubt it) or he had to pay 22.50$.
---------------------------------------------------------
I have solved using both formulas, hope this helps, bye!