Practice Finding the Shortest Path

In the sketch below, drag points A, B, C, and D to change the lengths of the segments. How far from A should E be located so the total distance from D to E to C is as short as possible? Calculate this distance algebraically, then check your answer dynamically. Click on the check boxes to confirm your answer or to get a hint.