If the distance between the two subways is 1, the speed difference between the subway maintenance vehicle and the subway is 1/6, and the speed sum is 1/2.
So the speed of the subway is (1/6+1/2)/2 =1/3, which means it runs every 3 minutes.
If you have any questions, you can talk to Baidu.