Solve for y to determine the inverse

y=2-(1/2x)

x=2-1/2y)

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