We have to find the slope of the line that passes through the points (2, 6) and (5, 12).
The slope of a line that passes through points (x1, y1) and (x2,y2) is computed as follows:

Replacing with (2, 6) and (5, 12),

The average rate that the train travels is 2 with a unit of miles/minute.