replacing double switch old cable colours
It looks like you need the red wire into one of the COM terminals, with the red loop from there to the other COM terminal. Then the yellow wire into one of the 1 way terminals and the blue wire into the other 1 way terminal.

Leave the red tape on the blue and yellow wires to show that they are switched live.