For this problem, the formula would be
c= -8s+150.
(c) represents the number of pieces of candy Tyrone ate.
-8, is the number of candy he ate (he ate it, so it doesn't exist anymore.)
(s) is the function you're going to be using as stated in the problem.
In this problem (b), as in the formula y=mx+b, equals 150.
I tried to explain this the best way I could.