Since two is a repeated eigenvalue that admits only one eigenvector you need to find a generalized eigenvalue vector

You need a vector

Note that the right hand side is the eigenvector for lambda equals 2.

Note 2: Generalized eigenvectors are not unique you just need to pick one vector that works.

Once you have this vector p use the other 3 eigenvectors to make the transformation matrix.