A point is translated on the coordinate plane from (4,−1) to (6,−1) .Which function shows this translation?

f(x)=x+5
f(x)=x+2
f(x)=x-2
f(x)=x

Since the x-coordinate remains the same, the function should be f(x)=x.