m=the slope of the line, in this case, the slope is equal to "18"; (18 cm/ year). b=the initial heigth, in this case, the initial heigth is equal to "5" (5 cm).
The temperature is 3 degrees less then it was at lunchtime when he went to bed you didn’t ask a question or explain it so I’m assuming this is what you meant