The first pair of equations is essentially Cramer's rule applied to the system of equations given above that:
$$
\begin{pmatrix}a_1&b_1\\a_2&b_2\end{pmatrix}\cdot\begin{pmatrix}x/z\\y/z\end{pmatrix}=\begin{pmatrix}-c_1\\-c_2\end{pmatrix}\implies
\frac{x}{z}=\frac{\begin{vmatrix}-c_1&b_1\\-c_2&b_2\end{vmatrix}}{\begin{vmatrix}a_1&b_1\\a_2&b_2\end{vmatrix}},\;\frac{y}{z}=\frac{\begin{vmatrix}a_1&-c_1\\a_2&-c_2\end{vmatrix}}{\begin{vmatrix}a_1&b_1\\a_2&b_2\end{vmatrix}},$$
To obtain the second circled equation, observe that the first circled pair has $z$ in the denominator of the left hand side, and $a_1b_2-a_2b_1$ in the denominator on the right. Multiplying both equations by $z$ and dividing by the numerator on the right you get $\frac{z}{a_1b_2-a_2b_1}$ as the right hand side of both equations, so you can combine them into a single equation.