how do you find the plot the slope and y-intercept 2y=4x-4

y = 2 x - 2

y = m x + b
m, the slope, = 2
b, the y axis intercept, = -2