A bakery owner sells cookies by the dozen. He can bake 3 dozen cookies every hour. The graph shows the linear relationship between y, the number of dozens of cookies baked, and x, the number of hours. The baker will bake cookies for a total of 8 hours. Which set best represents the range of the function for this situation?

{y | 0 ≤ y ≤ 24}