A different ant and ladybug are a certain distance apart, and they start walking toward each other. The graph shows the ladybug’s distance from its starting point over time and the labeled point (2.5,10) indicates when the ant and the ladybug pass each other.
The ant is walking 2 centimeters per second.
Write an equation representing the relationship between the ant’s distance from the ladybug’s starting point and the amount of time that has passed.
Finish the graph.