Hello everyone. I've been stuck with this for a while...

Let V be a linear space of finite dimension and T:V->V a linear transformation. Show that T=rI where r is some real number and I is the identical transformation if and only if ToS=SoT for any linear transformation S:V->V.

I could really use some help with the non-trivial implication