I have a problem as below: Given a complex number $z$ which satisfies the expression: $$ |z - 10| + |z + 10| = 12 \sqrt5 $$
Find the maximum value for $$ P = |z - 4 - 22i| $$
For this problem, I have a prediction as follow:

as you can see in the picture, that is the intuitive graph for the eclipse of the given expression and the point $A(4, 22)$ for the expression $P$
I predict that the value of $P$ is maximized if it is on the green line and crossed with the eclipse. Therefore the maximum value of $P$ is from the point $A$ to the crossed point of the green line with the eclipse.
However, that is my prediction for this problem without proof. Luckily, it gives the right answer but I have no idea for any reason.
