The first step in this process is always to find the eigenvalues and eigenvectors of the coefficient matrix. We do this in the standard way
\begin{equation*}
\det(A - \lambda I) = (1-\lambda)(1-\lambda) - (3)(3) = \lambda^2 - 2\lambda + 1 - 9 = \lambda^2 - 2 \lambda - 8.
\end{equation*}
Since this factors as \((\lambda + 2)(\lambda - 4)\text{,}\) the eigenvalues are \(-2\) and \(4\text{.}\) Using these (exercise!) we can show that the corresponding eigenvectors are \(\left[\begin{smallmatrix} 1 \\ -1 \end{smallmatrix}\right]\) for \(\lambda = -2\) and \(\left[\begin{smallmatrix} 1 \\ 1 \end{smallmatrix}\right]\) for \(\lambda = 4\text{.}\) Therefore, the general solution to the homogeneous problem is
\begin{equation*}
\vec{x}(t) = c_1 \begin{bmatrix} 1 \\ -1 \end{bmatrix}e^{-2t} + c_2 \begin{bmatrix} 1 \\ 1 \end{bmatrix}e^{4t}.
\end{equation*}
Now that we have this solution, we can work to solve the non-homogeneous problem. To do this, we form the matrices
\begin{equation*}
E = \begin{bmatrix} 1 & 1 \\ -1 & 1 \end{bmatrix} \qquad D = \begin{bmatrix} -2 & 0 \\ 0 & 4 \end{bmatrix}
\end{equation*}
and, using the fact that for a \(2 \times 2\) matrix
\begin{equation*}
\begin{bmatrix}
a& b \\
c & d
\end{bmatrix}^{-1} = \frac{1}{ad-bc} \begin{bmatrix}
d & -b \\ -c & a
\end{bmatrix}
\end{equation*}
we can compute \(E^{-1}\) as
\begin{equation*}
E^{-1} = \frac{1}{(1)(1) - (1)(-1)} \begin{bmatrix} 1 & -1 \\ 1 & 1 \end{bmatrix} = \begin{bmatrix} 1/2 & -1/2 \\ 1/2 & 1/2 \end{bmatrix}.
\end{equation*}
As an aside, we can check that
\(A = EDE^{-1}\) to make sure that we did this right.
\begin{align*}
EDE^{-1} \amp=
\begin{bmatrix}
1 & 1 \\ -1 & 1
\end{bmatrix}
\begin{bmatrix}
-2 & 0 \\ 0 & 4
\end{bmatrix}
\begin{bmatrix}
1/2 & -1/2 \\ 1/2 & 1/2 \end{bmatrix}\\
\amp=
\begin{bmatrix}
1 & 1 \\ -1 & 1
\end{bmatrix}
\begin{bmatrix} -1 & 1 \\ 2 & 2
\end{bmatrix} \\
\amp=
\begin{bmatrix}
1 & 3 \\ 3 & 1
\end{bmatrix}
= A\text{.}
\end{align*}
Thus, we can proceed. From the general process of diagonalization, we know that the system we need to solve is
\begin{equation*}
\vec{y}' = D\vec{y} + E^{-1}\vec{f} = \begin{bmatrix} -2 & 0 \\ 0 & 4 \end{bmatrix} \vec{y} + \begin{bmatrix} 1/2 & -1/2 \\ 1/2 & 1/2 \end{bmatrix} \begin{bmatrix} 2e^t \\ 2t \end{bmatrix}
\end{equation*}
for \(\vec{y} = E^{-1}\vec{x}\text{,}\) or \(\vec{y}\) defined by \(\vec{x} = E\vec{y}\text{.}\) Computing the non-homogeneous term gives
\begin{equation*}
\begin{bmatrix} 1/2 & -1/2 \\ 1/2 & 1/2 \end{bmatrix} \begin{bmatrix} 2e^t \\ 2t \end{bmatrix} = \begin{bmatrix} e^t - t \\ e^t + t \end{bmatrix}
\end{equation*}
so that we can now decouple the system
\begin{equation*}
\begin{bmatrix} y_1' \\ y_2' \end{bmatrix} = \begin{bmatrix} -2 & 0 \\ 0 & 4 \end{bmatrix} \begin{bmatrix} y_1 \\ y_2 \end{bmatrix} + \begin{bmatrix} e^t - t \\ e^t + t \end{bmatrix}
\end{equation*}
into two separate first-order equations that we can solve
\begin{equation*}
y_1' = -2y_1 + e^t - t \qquad y_2' = 4y_2 + e^t + t
\end{equation*}
by normal first-order integrating factor methods. For the \(y_1\) equation, we want to use an integrating factor of \(e^{2t}\) to solve it as
\begin{align*}
y_1' + 2y_1 \amp= e^t - t \\
e^{2t}y_1' + 2e^{2t}y_1 \amp= e^{3t} - te^{2t} \\
(e^{2t}y_1)' \amp= e^{3t} - te^{2t} \\
e^{2t}y_1 \amp= \int e^{3t} - te^{2t}\ dt = \frac{1}{3}e^{3t} - \frac{1}{2}te^{2t} + \frac{1}{4}e^{2t} + C_1 \\
y_1 \amp= \frac{1}{3}e^t - \frac{1}{2} t + \frac{1}{4} + C_1e^{-2t}\text{.}
\end{align*}
For the second, we need the integrating factor \(e^{-4t}\) to solve
\begin{align*}
y_2' - 4y_2 \amp= e^t + t \\
e^{-4t}y_2' - 4e^{-4t}y_2 \amp= e^{-3t} + te^{-4t} \\
e^{-4t}y_2 \amp= \int e^{-3t} + te^{-4t}\ dt = -\frac{1}{3}e^{-3t} - \frac{1}{4}te^{-4t} - \frac{1}{16}e^{-4t} + C_2 \\
y_2 \amp= -\frac{1}{3}e^{t} - \frac{1}{4}t - \frac{1}{16} + C_2e^{4t}\text{.}
\end{align*}
Therefore, we have the vector solution
\begin{equation*}
\vec{y}(t) = \begin{bmatrix}
\frac{1}{3}e^t - \frac{1}{2} t + \frac{1}{4} + C_1e^{-2t} \\
-\frac{1}{3}e^{t} - \frac{1}{4}t - \frac{1}{16} + C_2e^{4t}
\end{bmatrix}.
\end{equation*}
To get to the actual solution \(\vec{x}\text{,}\) we need to multiply this solution by the matrix \(E\)
\begin{align*}
\vec{x} \amp= E\vec{y} =
\begin{bmatrix}
1 & 1 \\ -1 & 1
\end{bmatrix}
\begin{bmatrix}
\frac{1}{3}e^t - \frac{1}{2} t + \frac{1}{4} + C_1e^{-2t} \\
-\frac{1}{3}e^{t} - \frac{1}{4}t - \frac{1}{16} + C_2e^{4t}
\end{bmatrix} \\
\amp=
\begin{bmatrix}
\frac{1}{3}e^t - \frac{1}{2} t + \frac{1}{4} + C_1e^{-2t} + (-\frac{1}{3}e^{t} - \frac{1}{4}t - \frac{1}{16} + C_2e^{4t}) \\
-(\frac{1}{3}e^t - \frac{1}{2} t + \frac{1}{4} + C_1e^{-2t}) + (-\frac{1}{3}e^{t} - \frac{1}{4}t - \frac{1}{16} + C_2e^{4t})
\end{bmatrix} \\
\amp=
\begin{bmatrix}
-\frac{3}{4}t + \frac{3}{16} + C_1e^{-2t} + C_2e^{-4t} \\ -\frac{2}{3}e^{t} - \frac{1}{4}t - \frac{5}{16} - C_1e^{-2t} + C_2e^{4t}
\end{bmatrix}
\end{align*}
which is a valid way to write the general solution. We can also write this solution in the form
\begin{equation*}
\vec{x}(t) = \begin{bmatrix} 0 \\ -\frac{2}{3} \end{bmatrix} e^t + \begin{bmatrix} -\frac{3}{4} \\ -\frac{1}{4} \end{bmatrix} t + \begin{bmatrix} \frac{3}{16} \\ -\frac{5}{16} \end{bmatrix} + C_1\begin{bmatrix} 1 \\ -1 \end{bmatrix}e^{-2t} + C_2\begin{bmatrix} 1 \\ 1 \end{bmatrix} e^{4t}
\end{equation*}
and we see that the general solution to the homogeneous problem shows up at the end of this solution.
Finally, we need to satisfy the initial conditions. If we plug in \(t=0\text{,}\) we get
\begin{equation*}
\vec{x}(0) = \begin{bmatrix} 0 \\ -\frac{2}{3} \end{bmatrix} + 0 + \begin{bmatrix} \frac{3}{16} \\ -\frac{5}{16} \end{bmatrix} + C_1\begin{bmatrix} 1 \\ -1 \end{bmatrix} + C_2 \begin{bmatrix} 1 \\ 1 \end{bmatrix} =
\begin{bmatrix}
3/16 \\
-5/16
\end{bmatrix}.
\end{equation*}
Rearranging this expression gives the two equations
\begin{equation*}
C_1 + C_2 = 0 \qquad -C_1 + C_2 = \frac{2}{3}
\end{equation*}
which has solution \(C_1 = -\nicefrac{1}{3}\) and \(C_2 = \nicefrac{1}{3}\text{.}\) Therefore, the solution to the initial value problem is
\begin{equation*}
\vec{x}(t) = \begin{bmatrix} 0 \\ -\frac{2}{3} \end{bmatrix} e^t + \begin{bmatrix} -\frac{3}{4} \\ -\frac{1}{4} \end{bmatrix} t + \begin{bmatrix} \frac{3}{16} \\ -\frac{5}{16} \end{bmatrix} - \frac{1}{3}\begin{bmatrix} 1 \\ -1 \end{bmatrix}e^{-2t} + \frac{1}{3}\begin{bmatrix} 1 \\ 1 \end{bmatrix} e^{4t}.
\end{equation*}