Enoch B. answered 12/23/19
Certified Algebra 1 Tutor - Empowering Students to Master Algebra
This type of composite function requires us to simplify our answer. Finding the domain requires us to check the domain of the original two functions (so that they are defined when we start) and the new, final function.
I did take one liberty in my video. I assumed you meant to show f(x) as 5x/(x+2) so that the x's do not cancel out. I then treated g(x) in the same manner.