\[1)\ y = \frac{3x^{2} - 2x + 1}{x + 1}\]
\[= \frac{6x^{2} + 6x - 2x - 2 - 3x^{2} + 2x - 1}{(x + 1)^{2}} =\]
\[= \frac{3x^{2} + 6x - 3}{(x + 1)^{2}} =\]
\[= \frac{3\left( x^{2} + 2x - 1 \right)}{(x + 1)^{2}}.\]
\[2)\ y = \frac{2x^{2} - 3x + 1}{2x + 1}\]
\[= \frac{4x^{2} + 4x - 5}{(2x + 1)^{2}}.\]