A train leaves the station at time t = 0. Traveling at a constant speed, the train travels 420 kilometers in 3 hours. Answer parts a and b.
a. Write a function that relates the distance traveled d to the time t.
The function that relates the distance traveled d to the time t is __.
(Type an equation.)