The correct answer is:
**D. By calculating the slope between two points on the graph.**
In a displacement vs. time graph, the slope of the line represents the velocity of the object. The slope is determined by the change in displacement (vertical axis) divided by the change in time (horizontal axis) between two points on the graph.