It will take 20 boxes until both companies charge the same amount of money
Here, we want to find the number of candy boxes that both companies will produce, such that the cost will be same.
Since we do not know the number of candies, we will need to represent it by a variable. Let the number of candies produced be x candies
Let us calculate the cost for Candy Crush company
For candy crush company, the cost is as follows;
$5.75 for 1 box, so for x boses, the cost will be x * 5.75 = $5.75x
Let us add the delivery fee to get the total cost.
That would be $5.75x + $30
Now; Let us calculate for Layla's Lollipops
Same x boxes
Cost of x boxes at $2.75 per box is 2.75 * x = $2.75
Adding the delivery cost, we have a total of
$2.75x + $90
So since the cost will be equal for x boxes, We equate the total costs for both companies;
Hence;
5.75x + 30 = 2.75x + 90
We proceed to collect like terms
5.75x - 2.75x = 90-30
3x = 60
divide both sides by 3;
x = 60/3
x = 20