We start at 0 and move 2 to the right to get to 2. Then, we move 4 to the left to get to -2.
So, our equation is , the 0 being our starting point, the +2 coming from moving to the right 2, the -4 coming from moving to the right 4, and the -2 being our end point.