Question 1074575
{{{system(g+5b+10r=99,g+b+r=16,g+b=r+2)}}}


-
{{{system(g+b+r=16,g+b-r=2)}}}


{{{(g+b+r)-(g+b-r)=16-2}}}
{{{2r=14}}}
{{{highlight(r=7)}}}


-
{{{g+5b+70=99}}}
{{{g+5b=29}}}
-
{{{g+b+7=16}}}
{{{g+b=9}}}
-


Simpler system in g and b
{{{system(g+5b=29,g+b=9)}}}

{{{(g+5b)-(g+b)=20}}}
{{{4b=20}}}
{{{b=5}}}


-
{{{g+b+r=16}}}
{{{g=16-5-7}}}
{{{g=16-12}}}
{{{highlight(g=4)}}}



4 goldfish
5 birds
7 rabbits




--
check
{{{4+5*5+10*7=99}}}