Sebastian and his father went on a driving trip. They want to refuel the car and want to change tyres of the car in minimum time. Gas stations are located at an interval of 40 miles and mechanic shops are located at an interval of 30 miles from their house in same direction.
Find the minimum distance at which both the gas station and mechanic shop can be located at the same stop.