Answer
The males have genotype of XY and female have genotype of XX, thus gametes produced by males are X and Y while females produce only X.
When X sperm meets X ovum the resulting zygote will have XX which is a female. If the Y sperm meets with the X ovum the resulting zygote will be of XY which is a male.