This is done by subtracting the coordinates of $P_{1}$ from the coordinates of $P_{2}$.
For part (a), the vector is $P_{2} - P_{1} = (-3, -4) - (0, 1) = (-3, -5)$.
For part (b), the vector is $P_{2} - P_{1} = (-1, 3, 2) - (-1, 3, 5) = (0, 0, -3)$.
Show more…