AMC 10B 2025 (Problem 7)

Frances stands 1515 meters directly south of a locked gate in a fence that runs east-west. Immediately behind the fence is a box of chocolates, located xx meters east of the locked gate. An unlocked gate lies 99 meters east of the box, and another unlocked gate lies 88 meters west of the locked gate. Frances can reach the box by walking toward an unlocked gate, passing through it, and walking toward the box. It happens that the total distance Frances would travel is the same via either unlocked gate. What is the value of xx?
(A)  327\text{(A)}\;3\frac{2}{7}(B)  337\text{(B)}\;3\frac{3}{7}(C)  347\text{(C)}\;3\frac{4}{7}(D)  357\text{(D)}\;3\frac{5}{7}(E)  367\text{(E)}\;3\frac{6}{7}