I need to calculate the effective value of this signal:

![enter image description here](https://i.stack.imgur.com/3gm9m.jpg)

I dont know how to calculate this. Iknow how to calculate the effective value of well known waveforms like square, sin, ..., but this is a mystery for me. I think I should combine it somehow with square waveform, but I don't know how.