y is how much money he spends in all.
x is how many rides he goes on.
Just to enter the fair, he pays 30 dollars. We do not know how many rides he goes on, but they cost 4 dollars a piece. We will multiply 4 by the unknown (x).
y = 30 + 4x
Hope this helps! :)