Hi

Then mean is given by

Splitting the integral gives : and as you know on each interval, you can go on .

Concerning the variance, it is defined by .

Again, split the integral into four parts and it will give you the result.

note : in both cases, integration by parts might be helpful.

Hope that helps.