A car having constant speed 50kmph.want overtake truck having constant speed of 20kmph what will be the time taken by car to overtake truck.??

truck goes 20 t

car goes 50 t

50 t - 20 t = distance behind
in kilometers
resulting t is in hours
multiply by 3600 to get seconds