rewriting the given slope-intercept equation to standard form you'll have:
y = 2x + 6
transpose y to the right or you may have it as 'subtract y to both sides of the equation'
0 = 2x - y + 6
or
2x - y + 6 = 0
transpose 6 to the right you'll have
2x - y = -6