the advantages of being paid salary is u get it even if u work 1 hour and the disadvantage of getting paid hourly is u have to work for along time
Use Pythagoras theorem

Two triangles are similar

(6+3)*12/2 - 6*8 /2 = 30
.4 as a percentage is 40%
0.10r + 0.20b = 24
3r = b + 20....b = 3r - 20
0.10r + 0.20(3r - 20) = 24
0.10r + 0.60r - 4 = 24
0.70r = 24 + 4
0.70r = 28
r = 28/0.70
r = 40 <=== there are 40 reds
0.10r + 0.20b = 24
0.10(40) + 0.20b = 24
4 + 0.20b = 24
0.20b = 24 - 4
0.20b = 20
b = 20/0.20
b = 100 <=== there are 100 blues