Hi,
We could solve this question by setting up a system of linear equations.
Let s = shirt and p = pants
Then we can come up with the following equations:
Equation 1:
2s + 3p = 50
Equation 2:
3s +1p = 40
Now our goal is to find the cost of 1 shirt first. So we can artificially multiply the second equation with -3 to get rid of the pants. It would look something like this:
2s + 3p = 50
-3(3s +1p) = -3(40)
------------------------------
2s + 3p = 50
-9s - 3p = -120 We can clearly get rid of the pants (p) now.
--------------------------
-7s = -70
Divide by -7 on both sides to isolate s, and we get:
s = 10 -> Thus, the cost of one shirt is $10.
Answer:
Let's find the cost of 5 shirts. So we will do 5 x $10 = $50