Let the cost of a shirt and pair of pants be S, and P, respectively
Then we get: 3S + 2P = 85.5 ------ eq (i)
Also, 4S + 3P = 123 ------ eq (ii)
Subtract eq (i) from eq (ii) to get: S + P = 37.5, or S = 37.5 - P
Substitute the value of S into eq (i) to get an equation in P.
From there, solve for P to get a pair of pants, or