A line equation can be written in slope-intercept form, which is
Where m represents the slope and b the y-intercept.
We can find the slope and y-intercept of our line by using two points from the graph and solving the system. I'm going to use (0, 10) and (2.5, 20), but you can use any pair of points that belong to the line.
From the first point we already have our y-intercept, if we substitute this point at the slope-intercept form we have
Using this value for b in our form and using the second point, we can find our slope
This means that our line equation is