Prove that the restriction of a linear operator T to a T-invariant subspace is a linear operator on that subspace.

For this proof, I'm not sure if I fully understand the problem.

Now, let W be a vector space, then T(W) is a subset of W. So this is the restriction. So I have to show that as a linear operator? How?