I promise this is way easier than it seems. Let's break it down.
If I spend $8 to get in, that's a one-time expense, so 8 is my constant. No matter how many rides I ride, I spent $8 to get in.
Let's say I buy 10 game and ride tickets.. That costs me $0.25(10), right? Since I don't know how many rides I'm going on or games I'm going to play, it's going to cost me $0.25x. However many ride or game tickets I buy is my x-value.
Put together, my y-value is determined, how much I spent total. A normal person might write this as 8 + 0.25x = y, buuuuut mathematicians like to write things in a strange order. The total comes first, then any terms with variables, then the constant.
y = 0.25x + 8
The domain is the bounds of my input, or my x-value, also known as the independent variable. Heck, I can go and not buy a single game or ride ticket because I just want to pet the pigs. Or, I can spend my life savings! If we had a certain amount of money to spend, the upper bound would be what I have minus the $8, but for now it's (0,∞)
The range is the bounds. Since it says we're going to the fair, we're spending at least $8 because we're gonna pet some pigs. Again, if I had so much money to spend, my upper bound would be that much money, buuuuut for now, it's (8,∞).
Hope this helps!