Hi everyone, can anybody please show me how to solve these two double integration questions please?

Here they are:

(a)

(b)

For the first one is painful,I cannot even start,but I guess maybe I need to change the order,am I right?

Second one is a bit horrible, I cannot continue after I integrated with respect to x, it was getting really messy.

Please show me what I should do,thanks a lot.