I cannot wrap my head around this u substitution business, please help.

For example...

The integral is taken with respect to u, not x, which is totally worthless to me. I could care less about u. I'm all about x. So how do I get the integral to be dx ?

other examples causing me trouble:

(I need to show how this results in ix)

or

Thanks