Movie theater A has popcorn machine with 120 gallon capacity it sells 7 gallons of popcorn per hour .movie theater B has a popcorn machine with a 150 gallon capacity it sells 9 gallons of popcorn per hour right and solve an equation to show when the popcorn machine will have the same amount of popcorn left

Let t be the number of hours that have passed since both movie theaters started selling popcorn.

The amount of popcorn left in theater A after t hours is 120 - 7t gallons.
The amount of popcorn left in theater B after t hours is 150 - 9t gallons.
To find when both theaters will have the same amount of popcorn left, we can set the two equations equal to each other and solve for t:
120 - 7t = 150 - 9t
Adding 9t to both sides:
120 + 2t = 150
Subtracting 120 from both sides:
2t = 30
Dividing both sides by 2:
t = 15
Therefore, the popcorn machines will have the same amount of popcorn left after 15 hours.