There's no trick to it — the levels are built to be solved by both characters working in sequence, so the answer is persistence and learning each room's order of operations.
Practically: send one character through to hold a lever or stand on a switch while the other crosses, then swap. Most failed attempts come from moving both at once instead of alternating.