The equation y=3(x+7) relates the numbers x and y. Which equation correctly expresses x in terms of y?
x=3y−7
x=3y+7
x=3y−7
x=3y+21