For this, we will be doing a system of equations. First will represent the total cost of $695 and the other will represent the total cost of $300.
Let s = cost of shirts and p = cost of pants:
For this, I'll be using the substitution method. So firstly, subtract 3p on both sides of the second equation:
Next, divide both sides of the second equation by 3:
Now replace s in the first equation with (100-p). From here we can solve for p:
Firstly, foil 8(100-p):
Next, combine like terms:
Next, subtract 800 on both sides of the equation:
Next, divide both sides by -3, and your answer should be:
Now that we know what the cost of pants is, we can replace p in either equation with 35 to solve for s. For this, I'll be using the second equation.
To find the difference in price, just subtract the prices: 65 - 35 = 30.
In short, shirts are $30 more expensive than pants.