8. (10 points) A body moves along the Ox axis. The dependence of velocity on time is shown in the figure. Determine the distance traveled by the body in 6 seconds.

![](https://cdn.mathpix.com/cropped/2024_05_06_0588747f110ff428b268g-8.jpg?height=323&width=531&top_left_y=929&top_left_x=865)
Answer: 5 meters.

Solution. In the first second, the body traveled 2 meters.

In the second - 1 meter.

In the fifth - 2 meters.

In total, the entire distance traveled is 5 meters.