the equation would be 10x+20y=150 and if she buys just t- shirts and no jeans she will be able to buy 15 t- shirts

10x+20y=150
10x+20(0)=150
10x=150
divided both sides =15