The price of a t-shirt is $10 and the price of a pair of jeans is $20.
Step-by-step explanation:
Step 1:
Assume the cost of one t-shirt is x and the cost of one pair of jeans is y.
From the question,
[tex]2x+y=40[/tex], take this as equation 1,
For the second scenario, there was a 50% discount, so we multiply the total price i.e $60 by 2 to form equation 2.
[tex]2x+5y=120[/tex], take this as equation 2.
Step 2:
When we subtract equation 2 from equation 1, the x variable is canceled out and y can be calculated.
[tex]-4y= -80,[/tex]
[tex]y = \frac{-80}{-4} = 20.[/tex]
Step 3:
Substituting this value of y in any of the previous equations we will get x's value.
Here this value of y i.e [tex]y=20[/tex] is substituted in equation 1.
[tex]2x+y=40, 2x+20=40, 2x = 20,[/tex]
[tex]x = \frac{20}{2} = 10.[/tex]
So we have [tex]x = 10[/tex] and [tex]y = 20.[/tex] So the price of a t-shirt is $10 and the price of a pair of jeans is $20.