Denise G. answered 11/06/19
Algebra, College Algebra, Prealgebra, Precalculus, GED, ASVAB Tutor
Let x = the number of shirts
Let y = the number of sweatshirts
The equations are
x+y=18
9x+15y=180
Solve these by substitution.
Take the first equation and solve for x
x+y=18 Subtract y from both sides
x+y-y=18-y Simplify
x=18-y Plug this into the 2nd equation
9(18-y)+15y=180 Now solve this, start with distribute
162-9y+15y=180 Combine like terms
162+6y=180 Subtract 162 from both sides
162+6y-162=180-162 Simplify
6y=18 divide both sides by 6
6y/6=18/6
y=3
Plug into solve for x
x=18-y
x=18-3
x=15
He should buy 15 shirts and 3 sweatshirts