The general equation of a line in slope-intercept form is:
Where b is the intercept and m is the slope.
We can find the slope of the line (m) with two points of the line (x1,y1) and (x2,y2) with this formula:
In this case, we have the points (3,5) and (4,10), let's replace them into the above formula to calculate the value of m, like this: