An ice cream shop makes vanilla and chocolate ice cream. The vanilla ice cream machine has a 180-cup capacity, and it sells 20 cups per day. The chocolate ice cream machine has a 140-cup capacity, and it sells 16 cups per day. Write and solve an equation to show when the two machines will have the same amount of ice cream left.

140+16x=180+20x ; x=10

180−20x=140−16x ; x=20

180+16x=140+20x ; x=−10

180−20x=140−16x ; x=10

The correct equation is 180 - 20x = 140 - 16x.

To solve for x, we can start by combining like terms:

-20x + 16x = -4x

180 - 140 = 40

40 = 4x

Dividing both sides by 4, we get:

x = 10

Therefore, the two machines will have the same amount of ice cream left after 10 days.