Hey sorry I have another question didn't want to start a new thread
I am working on this question:

And I found that the eigenvalues are 2,-4,-4 and the respective eigenvectors are (1,1,2),(-1,1,0),(-2,0,1). Since -4 has geometric multiplicity 2 I used gram schmidt on (-1,1,0) and (-2,0,1) to get (-1,1,0) and (-1,-1,1) to create an orthonormal basis so in the end here is my spectral decomposition:

But I get the wrong answer (I am not getting back the matrix A). I get very close to A though, I think I'm off by 2/3
Can someone help me find where I went wrong, been looking for a while now?