Answer with explanation:
If f(x) and g(x) are two functions which are Inverses of each other then
either of two will be true.
→fog(x)=x
→ gof (x)=x
⇒fog(x)
=f[g(x)]

→ gof (x)
=g[f(x)]

Which shows that f(x) and g(x) are inverses of each other.
→Domain of f(x)= All Real numbers excluding 5=R-{5}
→Domain of g(x)=All Real numbers excluding 0=R-{0}
→Domain of fog(x)=All Real numbers