A motor cycle and car start from same place at the same time from rest.They travel in the same direction.the cycle travels with an accelaration 120cm/s^2 till it reaches a speed of 18m/s and the car travels with an accelaration of 60cm/s^2 till it reaches 27m/s .At what time and distance the car will overtake the cycle?