Synthetic division is a method for the division of polynomials by a linear factor, it means that it only works for the cases in which the divider is a linear expression such as x+2, x+5, x+7.
It means that the dividend can be any type of polynomial, but the divider must be a linear expression.