Long Division of Polynomials

Example 1

Divide $x^3 + 3x^3 + 2x + 1$ by $x+2$.

Example 2

Perform a long division: $(4x^4-6x^3+2x^2-3x+5) \div (2x+1)$.