The first equation must be simplified to achieve the result of the second equation, q is just a constant here. I have no clue about which algebraic manipulations I need to use to achieve this result. This solution was obtainned by MAPLE software, however I couldn´t get the steps from this software.
\begin{equation} \begin{gathered} \frac{\Gamma(\frac{1}{2}+\frac{1}{q-1})}{\Gamma(\frac{1}{q-1})}\frac{\Gamma(\frac{q}{q-1})}{ \Gamma(\frac{q}{q-1}+\frac{1}{2})} = \frac{2}{(q+1)} \\ \end{gathered} \end{equation}