a.
\(\dfrac{x}{2}=\dfrac{y}{5}\Rightarrow5x-2y=0\left(1\right)\\ x+y=-21\left(2\right)\)
\(\left(1\right),\left(2\right)\Rightarrow\left\{{}\begin{matrix}x=-6\\y=-15\end{matrix}\right.\)
b,
\(7x-3y=0\left(1\right)\\ x-y=16\left(2\right)\)
\(\left(1\right),\left(2\right)\Rightarrow\left\{{}\begin{matrix}x=-12\\y=-28\end{matrix}\right.\)