Two balls, A and B of masses 0.4 kg and 1.2 kg respectively, are placed at a distance of 12 cm from each other. Another ball of mass 0.1 kg is placed in between them such that there is no net force acting on it. Find the distance of the third ball from ball A.