Solución

a. $\overrightarrow{QP} = \lang -2, -2\rang$; b. $\overrightarrow{QP} = -2\bold{i} - 2\bold{j}$