For , the surface presentation
has an epimorphism to sending to and the other generators to zero. Its kernel has index . By the classification of connected covering spaces, it determines a connected -sheeted cover . Pull back the orientation, so each local sheet has degree and . Counting lifts of cells gives , hence and .
For , use the -sheeted cover and compose with an orientation-reversing diffeomorphism of , for instance reflection in a symmetric embedded genus-two surface. By multiplicativity of mapping degree, the degree becomes . For take a constant map from the torus. Thus the arbitrary-degree maps to a surface of genus two can be chosen with