Is this correct we have to set this problem equal to y?

2x-y=4: y=-4+2x

Yeah. That looks right.

2x-y=4
-y=4-2x
multiply both sides by -1
y=-4+2x