please 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​