Algebra Examples

Find q(r(x)) q(x)=x^2+1r(x) = square root of x+6
I am unable to solve this problem.