\begin{aligned}y'_1&=& 2y_1+y_2 + xe^x \\
y'_2&=& -y_1+2y_2-2e^x \\
\end{aligned}