Let the speeds of the first, second, and third cars be v1, v2, and v3 respectively. From the first condition at point C, 240 divided by v1 minus 240 divided by v2 equals 1. From the second condition where the first and third cars meet 80 km away from C, the ratio of their speeds v1 to v3 equals the ratio of the distances they travel from C, which is 80 to (240 minus 80), or 1 to 2; this means v3 equals 2 times v1. Since the cars left A at equal time intervals and reached B simultaneously, the time differences between their arrivals at B are constant; the difference in time taken to travel from A to B for the first and second car equals that for the second and third car, meaning (D divided by v1 minus D divided by v2) equals (D divided by v2 minus D divided by v3). Substituting v3 as 2 times v1 yields 240 divided by v1 equals 240 divided by v2 plus 1. Solving this with the first equation gives v1 equals 60 and v3 equals 120. The difference between the speed of the first and third car is 60 kmph.