math hw
i need help on this problem

Step 1: Distribute x (0, 1, 2, 3, 4, 5, and 6) to the second power because PEMDAS says exponents come before multiplication AND subtraction. 0² = 0, 1² = 1, 2² = 4, 3² = 9, 4² = 16, 5² = 25, 6² = 36.
Step 2: Multiply x (0, 1, 2, 3, 4, 5, and 6) by 6. 0 * 6 = 0, 1 * 6 = 6, 2 * 6 = 12, 3 * 6 = 18, 4 * 6 = 24, 5 * 6 = 30, 6 * 6 = 36
Step 3: Subtract x² from 6x.
In order:
0 - 0 = 0.
6 - 1 = 5.
12 - 4 = 8.
18 - 9 = 9.
24 - 16 = 8.
30 - 25 = 5.
36 - 36 = 0.
The pattern is 0, 5, 8, 9 and then it repeats backwards.