I don't think that the first statement implies the second. When both are true then f is a linear transformation, but it must satisfy both. I am not 100% and can't think of an example, but I am sure that if this were true then this would be indicated in the definition of a linear transformation.
If you assume that f is linear then proving the second statement is easy. Is that what you want to do?