Variables are
X= white masks
Y= Elure masks
then write equations
12) X + Y = 20. (number of masks Richard buys)
and
13) 2.50X + 1.50Y= 45. (Cost of masks)
Now solve this system of 2 equations,
by substitution
then
X = 20 - Y
replace
2.50( 20-Y) + 1.50Y = 45
solve for Y
50 - 2.50Y + 1.50Y = 45
Y= (50-45)/ ( 2.5- 1.5) = 5/1= 5
Now find X
X= 20- 5 = 15
Second part, by elimination
multiply by (-2.50) and add both equations
(-2.50X - 2.50Y ) + (2.50X + 1.50Y ) = -50 + 45
then now eliminate X
-2.50Y + 1.50Y = -5
then
Y= -5/(-2.50+1.50)= -5/-1= 5
and
X= 15
14) Then answer is
Richard buyed
15 white masks
5 elure masks