Answer
The unnecessary information in the problem is the amount of money given to the parking attendant.
Charge for parking for 5 hours = 4.50
Work Step by Step
Charge of parking for first hour = 2.50
Charge of parking after that = 0.50 per hour
Number of hours parked = 10 A.M - 3 P.M = 5 hours
Money given to parking attendant = 20
To find out the money he was charged for parking for 5 hours, we don't need the information about how much he gave the parking attendant.
Charge for parking for 5 hours = 2.50 + (0.50 x 4) = 2.50 + 2 = 4.50