The price of a t-shirt is $10 and the price of a pair of jeans is $20.
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,
, 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.
, 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.
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
is substituted in equation 1.
So we have
and
So the price of a t-shirt is $10 and the price of a pair of jeans is $20.