x-nr de frezii
y-nr de trandafiri
z-nr de garoafe
t-nr de lalele
x+y+z+t=361
x=3y
z=t
3y+y+z+z=361
4y+2z=361
2z=361-4y
z=(361-4y)/2
x < z+t < y
3y < z+z < y
3y < 2z < y
3y< 2*(361-4y)/2 <y
3y < 361 -4y < y |-361
-361+3y < -4y < -361 +y |-1
361 -3y < 4y < 361 -y ⇒ 4y=361 -2y
4y+2y=361
6y=361
y= 361/6
y=60,1 ≈ 60 de fire de trandafiri
x=3*60=180 de fire de frezii
z=t= (361-4*60)/2= (361-240)/2= 121/2= 60,5 ≈60 de fire de garoafe sau lalele