r*b + g*b = 56 and 3*g = r