$\begin{array}{1 1} \frac{1}{q} \log [q \tan^{-1}x +\sqrt {p^2+q^2(\tan^{-1}x)^2}+c \\ \log [q \tan^{-1}x +\sqrt {p^2+q^2(\tan^{-1}x)^2}+c \\ \frac{2}{3q} (p^2+q^2(\tan^{-1}x)^{3/2}+c \\ none\;of\;these \end{array} $