Write an equation for the graph below. As a suggestion, consider translating the graph into a table to investigate the pattern.
123-1-2-312345678-1-2-3-4-5-6-7-8
y=\displaystyle {y}=