This problem involves relative speed and equal distance covered from the starting point at the moment the faster train overtakes the slower train. The total distance covered by the goods train until being overtaken is the sum of the distance covered before the express train started and the distance covered while the express train was running.