I have already found the answers for A, B, and C but am confused on how to get the answer for D or (g•g).My question is, how to find the composite function (g•g)(x)?

we have the function
[tex]g(x)=\sqrt{x-1}[/tex][tex]\begin{gathered} (gog)(x)=g(g(x)) \\ (gog)(x)=\sqrt{\sqrt{x-1}-1} \end{gathered}[/tex]