For motion in one direction since the direction of motion does not change, so displacement-time graph and the distance-time graph are same.