The slope of distance-time graphs gives the speed.
Here, slope of the car A is greater than slope of the car B, so the car A is moving with faster speed than the car B.
Figure shows the distance-time graph for the motion of two vehicles A and B. Which one of them is moving faster?
Distance-time graph for the motion of two cars