The domain of the function f(x) is (−∞,20] and the range is [−20,8]. Using interval notation, find the domain and range of g(x)=f(x−6).