In order to graph the function, the slope will be 20 and the y-intercept will be at C=40, taking into account that the limit is x=50
to find the line join points (0,40) and the limit coordinate found through the equation

the other coordinate is (50,1040)
then, cross a line at x=25