nr gainilor-x
nr curcanilor-y
nr cailor-z
x+y+z=95
2x+2y+4z=198
y=1/6 din x
y=1/6*x
y=x/6
2x+2*x/6+4z=198
2x+x/3 +4z=198 aducem la acelasi numitor
6x+x+12z=594
7x+12z=594
x+y+z=95
x+x/6+z=95 aducem la acelasi numitor
6x+x+6z=570
7x+6z=570
7x+12z=594
7x+6z=570 |-1
7x+12z=594
-7x-6z=-570
/ 6z= 24
z=4
x+y+z=95
x+y=95-4
x+y=91
y=x/6
x/6 + x=91 aducem la acelasi numitor
x+6x=546
7x=546
x=78
y=78/6= 13