Speed of car A = 50 km/hr
Speed of car B = 60 km/hr
Since, both cars A and B are moving in same direction, the relative speed = 60 – 50 = 10 km/hr
Distance required between them = 20 km