In order to have a girl, you need to make it more difficult for the Y sperm to reach their target on time
. This means that positions where shallow penetration is achieved are necessary. The sperm will be deposited further away from the cervix, giving the X sperm the chance they need to reach the egg, and allowing the Y sperm to die off.