Car A starts from rest at t=0 and travels along a straight road with a constant acceleration of 6ms−2 until it reaches a speed of 80ms−1. Aftervards it maintains this speed. In contrast, at t=0, car B located 6000m down the road is traveling towards A at a constant speed of 60ms−1. Find the distance traveled by car A when they pass each other.