Answer: cheese pizzas = 25 , Pepperoni pizzas = 15
Step-by-step explanation:
Let x = Number of cheese pizzas, y = Number of pepperoni pizzas.
As per given,
[tex]x+y=40\ \ \ (i)\\\\ 7x+9y=310\ \ \ (ii)[/tex]
Multiply 7 on both sides of (i), we get
[tex]7x+7y=280\ \ \ (iii)[/tex]
Eliminate (iii) from (ii), we get
[tex]2y= 30\\\\\Rightarrow\ y=15[/tex]
Put value of y in (i) , [tex]x+15=40\Rightarrow\ x= 40-15= 25[/tex]
Hence, cheese pizzas = 25 , Pepperoni pizzas = 15