If f: X → Y and g: Y → Z

If f: X → Y and g: Y → Z are linear functions, then so is their composition g ∘ f: X → Z.