Need Help: Two chandeliers
In the editorial of this problem, Can someone please tell me how do we arrive at the these equations and what are pos, x, y?
Thanks in advance.