I need help with this practice problem solving, having trouble.It is trigonometry.

The period of a function is the distance (x) between the repetion of this fuction.
As can be observed in the figure below:
Then, the period is: 7.5 - 1.5 = 6.
Answer: 6.