Consider $\mathbb{R}^{3}$ with two orthonormal bases: the canonical basis $e=\left(e_{1}, e_{2}, e_{3}\right)$ and the basis $f=\left(f_{1}, f_{2}, f_{3}\right)$, where
$$
f 1=\frac{1}{\sqrt{3}}(1,1,1), f_{2}=\frac{1}{\sqrt{6}}(1,-2,1), f_{3}=\frac{1}{\sqrt{2}}(1,0,-1)
$$
Find the canonical matrix, $\mathrm{A}$, of the linear map $T \in \mathcal{L}\left(\mathbb{R}^{3}\right)$ with eigenvectors $f_{1}, f_{2}, f_{3}$ and eigenvalues $\mathbf{1}, \mathbf{1} / 2,-\mathbf{1} / 2$, respectively.