There are 12 red and 14 blue.
The first equation would be
3B=2R+18.
The second equation would be
5B=6R-2.
To get the coefficients of R the same we will multiply the first equation by 3:
3(3B=2R+18)
which gives us
9B=6R+54
Now our system is
9B=6R+54
5B=6R-2
We will subtract the bottom equation to eliminate R:
9B=6R+54
-(5B=6R-2)
which gives us
4B=56
Divide both sides by 4:
4B/4=56/4
B=14
Substitute this into our first original equation:
3(14)=2R+18
42=2R+18
Subtract 18 from both sides:
42-18=2R+18-18
24=2R
Divide both sides by 2:
24/2=2R/2
12=R