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