if it lies at distances of 0.4 m and 0.3 m respectively from the centres of two magnets.