If the X chromosome of the male gamete fuses with the X chromosome of the female gamete the fertilized egg will develop into a girl and if the Y chromosome of the male gamete fuses with the X chromosome of the female gamete the fertilized egg will develop into a boy.