xxxxxxxxxx
\begin{array}{r}
x+4\phantom{)} \\
x-2{\overline{\smash{\big)}\,x^2+2x+3\phantom{)}}}\\
\underline{-~\phantom{(}(x^2-2x)\phantom{-b)}}\\
0+4x+3\phantom{)}\\
\underline{-~\phantom{()}(4x-8)}\\
0+11\phantom{)}
\end{array}
* The above code will show how x^2 + 2x + 3 is divided by x - 2! Hope you'll find it useful :)