Theo đề, ta có:
\(\left\{{}\begin{matrix}\dfrac{a}{2}=\dfrac{b}{5}\\a-b=84\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}5a-2b=0\\5a-5b=420\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}3b=-420\\5a-2b=0\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}b=-140\\a=-56\end{matrix}\right.\)