In the pictured graph, the X axis is labeled as real Axis and the Y axis is labeled as Imaginary axis.
The letter i after a number is considered an imaginary number.
So in the given numbers 2 +2i the w is the real number and 2i is the imaginary number, which is located at the dot labeled B.
-1 +3i, -1 is the real number and 3i is the imaginary number, which is located at the dot labeled A.
Line Segment AB is the correct answer.