Maggie and Mia go shopping together. At the Fashion Bee, all shirts cost one price and all sweaters cost one price. Maggie buys 2 shirts and 2 sweaters for $86. Mia buys 3 shirts and 1 sweater for $81. What is the cost of a shirt and a sweater?

Let
the price of shirt = x
the price of sweater = y
Maggie total price can be represented below
[tex]\begin{gathered} 2x+2y=86 \\ x+y=43 \end{gathered}[/tex]Mia total price can be represented below
[tex]3x+y=81[/tex]Combine the equation
[tex]\begin{gathered} x+y=43 \\ 3x+y=81_{} \\ y=43-x \\ 3x+43-x=81 \\ 2x=81-43 \\ 2x=38 \\ x=\frac{38}{2} \\ x=19 \\ 19+y=43 \\ y=43-19 \\ y=24 \end{gathered}[/tex]Price of a shirt = $19
price of a sweater = $24