My answer is y = 1/2x+0, but I'm not sure if my math was right

1/2 = y - (-2)/ x-4

1/2(x-4)=y - (-2)

1/2x -2 = y+ 2

1/2x+0=y

Can anyone tell me their answers, and show me where my work was wrong? I'm pretty confident that I got it right though.