Match the route map with the corresponding directions where S stands for Straight, L for Left and R for Right.