Let
$$A=\begin{bmatrix} 0&1&-1\\ -1&-2&5\\ 0&0&3 \end{bmatrix} $$
i) Prove that $A$ is similar to a diagonal matrix, but not unitarily similar to a diagonal matrix.
ii) Find two $A-$invariant subspaces $V_1$ and $V_2$ such that $\mathbb{R}^3$ is the direct sum $V_1$ and $V_2$.
I know that $spec(A)=\{-1,3\}$ and its characteristic polynomial is $p(x)=(x-3)(x+1)^2$. We also have Schur's theorem , but I don't know how to solve the probelm. I appreciate any help.