Orientation & the Cross Product
In short: given three points a, b, c in order, the path a -> b -> c
either bends left, bends right, or runs dead straight. The cross product
of vector (b - a) and vector (c - a) answers this with one number: its
sign is the turn direction, and its size is twice the area of the triangle
the three points span. Positive means a left (counter-clockwise) turn,
negative means a right (clockwise) turn, and exactly zero means the three
points are collinear — they lie on one straight line. Every lesson in
this section reduces to asking this one question about three points.

Which way does the van turn?
Meridian's route planner reads three consecutive stops at a time and asks whether the van bends left or right between them:
depot -> warehouse runs straight east; mall sits north of warehouse, so
the van bends left there — orientation returns 1. Swap mall for a stop
south of the line, (2, -3), and the sign flips to -1: the van bends
right. Nothing about the distance between the points matters here, only
which side of the line a -> b the point c lands on.