Hey there!!
Given :
The total cost for 2 pairs of pants and 5 shirts is $61.
The total cost for 3 pairs of paints and 4 shirts is $67.
Let's take the cost for each pair of paints as 'p' and the cost for each shirt as 's'.
Now, let's get these into an equation.
Peter's equation :
... 2p + 5s = 61
Jessica's equation :
...3p + 4s = 67
......................................................................................................
2p + 5s = 61 --- (1)
3p + 4s = 67 --- (2)
Multiply the first equation with 3 and the second equation with 2.
6p + 15s = 183
6p + 8s = 134
Subtract both the equations -
... 7s = 49
Divide both sides with 7.
... s = 7
Hence, the cost of each shirt is $7.
Hope my answer helps!!