You need to work on your notation.

play around with latex in this thread.

try first writing

[PHP] [/PHP]

It should look like this:

The \int means "integral" the _{0} means to put a zero at the bottom, the ^{3} means to put a 3 at the top. the ~ adds a space.

Anyway

And for the one with brackets, just split the integral up like I did here, or you can keep them in the same group and just integrate them independently