Question:
$A$ and $B$ are two points on the same side of a line $l$. Denote the orthogonal projections of $A$ and $B$ onto $l$ by $A^\prime$ and $B^\prime$. Suppose that the following distance are given: $d(A,A^\prime) = 5$, $d(B,B^\prime) = 4$ and $d(A^\prime,B^\prime) = 10$. Find a point on l such that the sum $d(A,C) + d(B,C)$ is minimal.
I have never seen a problem like this before, can someone help me solve this please?
So I computed the sum d(A,C) + d(B,C), took the derivative and solved for C to get 1/2, however Im unsure if this is correct, could someone solve for C and tell me if I'm right?

Find the symmetric point of $A$ with respect to the line $l$. Say it's $A_2$. Connect $A_2$ with $B$, let's denote the line through $A_2$ and $B$ by g. Find the intersection point of $g$ and $l$. This is the desired point $C$. Try to prove it.
Note: the given distances 5,4,10 - they don't matter; the above is generally true.
This solution is the same as method 2 here:
http://www.analyzemath.com/calculus/Problems/minimum_distance.html
Method 1 (from that page) is also nice but less elegant.