This is a question about trig substitution used in integrals.
Because it is difficult to solve an integral when there is radical in it, we use a trig function of theta to substitute x from the original integral.
The only thing I don't understand is why the ending symbol dx, which indicates that we are integrating the function with respect to the "x" variable, is also changed into a function of d theta and then multiplied by the integral after substitution.
I think after substitution, we can just rewrite dx into d theta.