Ok so to find the slope meaning how much quarts can be made in 1 hour you'd need to divide 140 by 7, if you do so you'll find 20. (20 quarts are made in an hour)
Now you can multiply 20 by 12, which is 240.
So, in 12 hours : 240 quarts of ice cream is made.