A delivery person drove half the distance to a customer's house at an average speed of 60 kilometers per hour. Due to traffic, they drove the remaining half of the distance at 20 kilometers per hour. If the total trip took 40 minutes, what was the total distance to the customer's house in kilometers?
15
18
20
22
25