A vector is completely determined by how far it moves you along each mutually perpendicular axis. Writing
v⃗1=x1i+y1j+z1k,v⃗2=x2i+y2j+z2k,
“doing” v⃗1 then v⃗2 means you first move x1 in the i-direction, then x2 in the same direction, so in total you move x1+x2 along i. The same holds independently in the j- and k-directions. By distributivity and commutativity,
v⃗1+v⃗2=(x1i+y1j+z1k)+(x2i+y2j+z2k)=(x1+x2)i+(y1+y2)j+(z1+z2)k
Geometrically, you’re just adding each independent “component” of displacement.
In our case
v⃗1=(2,3,−1),v⃗2=(5,−2,2),
so
v⃗1+v⃗2=(2+5,3+(−2),−1+2)=(7,1,1)
or in i,j,k form
This means the combined displacement is 7 units along i, 1 unit along j, and 1 unit along k.