Patrick B. answered 02/01/19
Math and computer tutor/teacher
R+B = 40
4R + 6B = 180 ---> 2R + 3B = 90
By substitution: B = 40 - R from the first equation.
2R + 3(40 - R) = 90
2R + 120 - 3R = 90
120 - R = 90
120 = 90 + R
120 - 90 = R
R=30
30 red, 10 blue