Let ⟨X,Y⟩ denote the set of basepoint-preserving homotopy classes of basepoint-preserving maps X→Y. Using Proposition 1B.9, show that if X is a connected CW complex and G is an abelian group, then the map ⟨X,K(G,1)⟩→H1(X;G) sending a map f:X→K(G,1) to the induced homomorphism f∗:H1(X)→H1(K(G,1))≈G is a bijection, where we identify H1(X;G) with Hom(H1(X),G) via the universal coefficient theorem.