You can set up 2 equations for the two companies that sell pizza. Pizza A's will be:
And B's will be:
To find the number of toppings we will need to make the companies prices equal can be found by setting the equations equal to each other and solving for x, because x is the price per topping. So:
So, the number of toppings you will need is 5 toppings to make their prices equal.