Write an equation of a line in slope-intercept form with the given slope and y-intercept.
A. Slope: -6, y-intercept: -2
B. slope: 1, y-intercept: - 12