EXPLANATION
Let's see the facts:
Sunrise temperature = 25°
Rate= 5°/hour
So, the temperature after x hours is given by the expression:
Temperature after x hours= Sunrise temperature + Number of hours*Rate
Substituting terms:
T= 25 + 5x
Now, with this relationship we can build the graph: