The equation 3x−7=y relates the variables x and y. Which equation correctly expresses x in terms of y?
x=3y−7
x=y+37
x=3y+7
x=3y−7