I have the Transformation T s.t:

$\displaystyle T(-2, 2, -1)=(-1, -1,-3) $ $\displaystyle T(0, 2 ,2)=(4, -2, 2)$ and $\displaystyle T(0, 1,-1) = (0,1, -1)$

Find a basis B ofR3such thatM_B(T), theB-matrix ofT, is diagonal.

I really dont know how to approach this i know i want to find

P so that $\displaystyle M_B(F) = P^{-1}AP$ but how do i find A etC?