For sex-lined trait, X and Y are used to represent male and remale gametes. The male is only able to donate one version of the allele, for example:
Since white eyes are recessive, we can use rr to represent them. Since the male can only carry the one allele, we can use R for the dominant red eyes: