Yesterday I started to learn algebra with my own. And the first chapter which I'm learning is Ratio . I'm not getting the red circle marked lines in the below image. I tried to understand it but didn't get it.
Thankyou in advance. and sorry for my bad English. :)

The first set of equations comes from solving the two equations with two unknowns right above. The book presumably has a section on how to do that.
The second set comes from the first by multiplying with $z$ and diving by $b_1c_2-b_2c_1$.