Sorry I forgot to mention this is for l=1.
Okay, but I used L_z eigenvalues of m\hbar, where m=-1,0,1 in this case, and used L_x=\frac{1}{2}(L_+ + L_- ). I have called the z component the one in which is certain, so how can the x component squared in this case have the same eigenvalues as the z...