A car drives a route through town as indicated alongside, crossing square M five times while doing so. How large is the total angle his car turned through when it has completed the route?

I just don't understand how the answer is supposed to be 1080. I just see 5 triangles, so I immediately assumed 900.
Note that if the path were a triangle, the car would turn $360$ degrees, not $180.$ The amount the car turns is the exterior angle, not the internal angle at each point, which is $180$ degrees minus the interior angle. If the car went all the way around each triangle, it would turn $5 \cdot 360= 1800$ degrees. It did not make the turn at each of the angles in the square. Because the five segments are straight, the five angles inside the triangles add up to $180$ degrees, so the angle we didn't turn is $5 \cdot 180 - 180=720$ and the total angle turned is $1800-720=1080$ degrees.