We want to know the equation of the line with the data given:

In slope intercept form. In general, the slope intercept form is given by:

where m represents the slope, and b the y-intercept. In this case, we just have to replace the values onto the formula and obtain the equation:

Now, assuming that p and o represent the values of slope and y-intercept of another line, we get that the corresponding equation will be:
