Repetitive waveform of three pulses

How to output a repetitive waveform of 3 pulses.

The signal has the following 3 pulses:

  1. on for 100 ms, off for 100 ms, on for 80 ms, off for 100 ms, on for 70 ms, off for 100 ms
  2. then output off for 300 ms
  3. repeat step 1 and 2

For this task we have two solutions in the following application: