Have you learned how to use synthetic division or at least polynomial long division? Either method can demonstrate the problem.

You may have also learned the remainder theorem / factor theorem, which basically ask you to plug in the zero value that comes from your factor and check to see if the remainder is zero.