When it is said "Y as a funtion of X"

does it mean
y=f(x) eg. y=2x+3
or
x=f(y) eg. x=2y+3

the first one is right