Question 22
A bus was scheduled to travel from Town A to Town B at a constant speed of $x$ km/h. If its speed increased by 20%, it would arrive two hours ahead of schedule. If it travelled the first 240 km at $x$ km/h and then decreased its speed to 80%, it would arrive two hours behind schedule. Find the distance between the towns in km.