Write the slope-intercept form for linear equations. Substititute the y-intercept into the slope-intercept equation. Substitute both the x-intercept point and the y-intercept into the equation to solve for slope. Rewrite by substituting the values of and into the y-intercept form.