Road Trip

A problem from the qualification round of the 2004/2005 Swedish Mathematical Contest, via the April 2009 issue of Crux Mathematicorum:

The cities A, B, C, D, and E are connected by straight roads (more than two cities may lie on the same road). The distance from A to B, and from C to D, is 3 km. The distance from B to D is 1 km, from A to C it is 5 km, from D to E it is 4 km, and finally, from A to E it is 8 km. Determine the distance from C to E.

Click for Answer