Let W be a subspace spanned by the u's, and write y as the sum of a vector in W and a vector orthogonal to W.
y=[2 5 5 -1],
u1=[1 1 0 1],
u2=[-1 4 2 -3],
u3=[-1 0 1 1],
y=