By generalizing the techniques which you already know. Solve the equations
$$
\dot{x}=x+y-z
$$
$$
\begin{aligned}
& \dot{y}=-x+5 y+z, \\
& \dot{z}=-2 x+2 y+4 z
\end{aligned}
$$
for initial conditions
$$
\left(\begin{array}{l}
x \\
y \\
z
\end{array}\right)=\left(\begin{array}{l}
1 \\
1 \\
1
\end{array}\right)
$$