In XY-type crystals (assuming AB-type like NaCl structure), if X has coordination number 6, then Y also has coordination number 6 due to the symmetrical nature of the structure. In NaCl-type crystals, each Na+ touches 6 Cl- and each Cl- touches 6 Na+.