let x be represent the number of the small pizza.
y be represent the number of the big pizza.
as given in the question stacy has total number of olives are 60 and mushrooms are 135.
Equations are
10x +15y = 60
18x+45y=135
x≥0, y≥0
I have shown these above mentioned equation in the below diagram.