The answer to this problem is 5 hours
60·(x + 2) = 620 - 40·x --> x = 5
To start, let's find the distance between A and B when they both start moving. This is two hours after the car starts moving, and that is 2*60=120 miles. There are 620 miles total, so they are 500 miles apart when they both start moving. Notice that they are moving in opoposite directions, so every hour they will get 60+40=100 miles closer to each other, so it will take 500/100=5 hours to meet. To find the distance from city A, we need to find how far the car moved, which is just 2+5=7 hours times 60 mph or 420 miles away from city A.