Answer:
In this question you got multipel answers.
If she buys as much pants as she can;
135 - (15.p) = 5.s
135 - (15.9) = 0
so now she has bought no shirts and 9 pants.
if she buys as much shirts as she can;
135 - (5.s) = 15.p
135 - (5.27) = 0
so now she has bought no pants and 27 shirts.
If she wants a shirt for each pants the equation would look something like this;
p=s=x
135 - (15.x) = 5.x
but with each pants she can buy three shirts, so 9 = 3.3
(7.15)+(6.5)= 105+30= 135
so now she has 7 pants and 6 shirts.