The functionf(x)= x−12x+6,x=1, is one-to-one. Find an equation forf −1(x), the inverse function.f −1(x)=x=2(Simplify your answer. Use integers or fractions for any numbers in the expression.) The domain of the plecewise function is(−[infinity],[infinity]). a. Graph the function. b. Use your graph to determine the function's range.f(x)={ 4x if x≤02 if x>0a. Choose the correct graph below. b. The range off(x)is (Type your answer using interval notation, set notation, and the union operator as need