That sex ratio

    will be favored

        which maximizes

  the number of descendants

       an individual will have

and hence

      the number of gene copies transmitted