The problem is g(x)= f(square root f(x)+4) I hand wrote the problem and my work and attached it to avoid any confusion.

Please help me check if my work is correct.

More importantly, any tips when dealing with these kind of problem? I had trouble with this at first. Thank you