x=\frac{c}{a}-\frac{b}{a}\cdot{\frac{af-cd}{ae-bd}}