There is an important difference between Distance/Time graphs and Speed/Time graphs. They are illustrated below to help you remember how they work.
Gradient of Graph = Distance = Speed
Gradient of Graph = Increase in Speed = Acceleration
Area under graph = 1/2 x final speed x time
Area under graph = average speed x time
Area under graph = Distance travelled