notam nr total de bile cu t
bile rosii=[tex] \frac{1}{6} [/tex]·t+12
bile albastre=[tex] \frac{1}{4} [/tex]·(t-[tex] \frac{1}{6} [/tex]·t-12)
[tex] \frac{1}{6} [/tex]·t+12+[tex] \frac{1}{4} [/tex]·(t-[tex] \frac{1}{6} [/tex]·t-12)+138=t
[tex] \frac{1}{6} [/tex]·t+12+[tex] \frac{1}{4} [/tex]·t-[tex] \frac{1}{24} [/tex]·t-3+3+138=t
4t-6t-t+3600=24t
15t=3600
t=240
bile rosii: [tex] \frac{1}{6} [/tex]·240+12=52
bile albastre: [tex] \frac{1}{4} [/tex]·(240-52)+3=50
bile albe=bile galbene=138/2=69