What are the domain and range of of f(x)=-2x?

The domain of the function f(x) = -2x is all real numbers, because there are no restrictions on the possible values of x.

The range of the function is also all real numbers, because the function can output any possible value of -2x, depending on the input value of x.