a store sells sweaters for $40 each and jeans for $20 maria buys 5 pieces of clothing ( some jeams and some sweaters ) and pays $160, how many sweaters and how many jeans does she buy

2 answers

sweaters --- x
jeans ------ y

x+y = 5

40x +20y = 160 or
2x + y = 8
subtract them:
x = 3
then y = 2

Maria bought 3 sweaters and 2 jeans
Thank you