Given two group homomorphisms f:G→H and g:H→K, the composition gf:G→K is also a homomorphism.
To prove this, note that g(f(x))g(f(y))=g(f(x)f(y)) since g is a homomorphism; that is g(f(xy)) because f is a homomorphism.