The Short Five Lemma

Let R be a ring (with unity) and suppose we have a morphism of short exact sequence of R-modules:

Prove:

  1. if h1 and h3 are injective, then h2 is injective
  2. if h1 and h3 are surjective, then h2 is surjective