text: yes. the sex genes come from both parents, but since all females are XX, they can only contribute an X to the baby. Males are XY, so each sperm is either an X or Y and that determines the sex of the baby.