How to divide a polynomial by synthetic division
Synthetic division divides a polynomial by a binomial of the form x − k using only the coefficients, repeating the same two operations, multiply by k and add, until the quotient and the remainder appear in the bottom row.
A worked example
Divide x³ − 2x² − 5x + 6 by x − 3. Write k = 3 and the coefficients 1, −2, −5 and 6. Bring down the 1. Multiply by 3 and add: −2 + 3 = 1. Multiply by 3 and add: −5 + 3 = −2. Multiply by 3 and add: 6 + (−6) = 0. The bottom row 1, 1, −2 is the quotient x² + x − 2, and the remainder is 0, so x − 3 is a factor.
The mistake people actually make
Use the value that makes the divisor equal to zero, so for the divisor x + 2 the value of k is −2, not 2. Also write a zero coefficient for every missing power, otherwise the columns won't line up and every subsequent calculation will be misaligned.