I need help with my Pre-Calculus work!Question:Consider the functions ()=2+6 and ()=−6‾‾‾‾‾‾‾√. Write function rules for ∘ and ∘, and give the domain of each.(())=Domain of ∘: (())=Domain of ∘:Are and inverse functions? Why or why not?

()= ^2 + 6
()= √(x - 6)
fog = (√(x - 6))^2 + 6
= x - 6 + 6
= x
Domain is all real numbers.
gof = √(^2 + 6 - 6)
= √(^2)
= x
Domain is all real numbers.
Both functions are inverse functions because fog and gof = x.