A car travels from City A to City B at a constant speed. If the car increases its speed by 20 km/h, it will take 2 hours less to travel the distance. If the car decreases its speed by 10 km/h, it will take 3 hours more to travel the same distance. What is the distance between City A and City B? Let's think step by step and output the final answer within \boxed{}.
user