Because no method is explicitly asked for in the question, the examples will all be shown using the remainder theorem. You could also use long division to solve this question.