Right. I think that my tired old brain can visualise that now.
I'm not sure how much relevance there is in this to MH370, but an excellent reference can be found at
Calculate distance and bearing between two Latitude/Longitude points using haversine formula in JavaScript