Two magnetic dipoles X and Y are placed at a separation d