Let f be a function such that f(x)=2x-4 is defined by the domain 2<=x<=6, what is the range of this function?