I don't know if this is helpful but the solution to the puzzle is to first make the red wall slide down but changing the world direction twice then standing on the yellow button. After this you get off the button and flip everything back so the red wall in on top of the yellow wall while pressing down blue button. The final step is to flip the world just once instead of twice so the red wall can't move and just exit the level.