I have problem solving the rectified mean value of these two square waves.

I have got the U_DC (mean value) to 1,25V (first wave) and 2,25V (second wave). I´m not really sure if those are the correct values though.

I need help to solve the rectified mean value of both waves. This is the integral to use:

Can someone guide me through this integral so I get the RMV at the end?

Regards

Majkul