First things first, remember to put in your "dx", when writing the integral. That thing is crucial to subsitution.

1. where the substitution is

and

2. where the substitution is

1.

Hence . Just replace xdx with that, and replace x^2+3 with u.

2.

You need to write in terms of so you can use your substitution, s.