x^2+10x+21/x+3
If the problem is (x² + 10x + 21) / (x +3):
Factor the numerator: (x + 7)(x + 3)
The problem is now: (x + 7)(x + 3) / (x + 3)
Cancel the x + 3 factor in the numerator with the x + 3 factor in the denominator, leaving x + 7.