Determining the Number Based on Directions on the Number Line