To find out how many pairs of shorts Edward sold, we need to use the information given and the equation provided:
I = 100J + 12T + 5S + 7H - 5M
We know that Edward's income (I) for the week is $197, the number of jeans (J) sold is 5, the number of T-shirts (T) sold is 5, the number of hats (H) sold is 3, and the number of meals (M) bought is 3. We need to find the value of S (number of shorts sold).
Substituting the given values into the equation, we have:
197 = 100(5) + 12(5) + 5S + 7(3) - 5(3)
Simplifying the equation:
197 = 500 + 60 + 5S + 21 - 15
197 = 500 + 60 + 5S + 6
197 = 566 + 5S + 6
191 = 5S + 6
Rearranging the equation:
5S = 191 - 6
5S = 185
Dividing both sides by 5:
S = 37
Therefore, Edward sold 37 pairs of shorts.