1 of 2

spacex launch/landing

How does the first stage of falcon 9 launch and land at the cape? I was under the impression that it's trajectory takes it about 60 miles off the coast (landing on a platform at sea makes sense). It would have to backtrack a long distance to land basically at the same place. Am I missing something or not understanding the launch/landing sequence?