This is not exactly accurate, but think of it like a countdown from 4.
If you step on a plate and it turns yellow, your countdown lowers by 1.
If you step on a plate and it turns red, your countdown lowers by 2.
If the countdown reaches 0, the trap hits you for 2000 damage.
So take a step, then another step, then step backwards.
This puzzle is extremely easy if you see the whole map as a series of sections. Since the tiles at intersections do not have pressure plates, they divide a series of lines that do. Start by going to the right and do 1 section at a time, stopping at an intersection to choose a new section that doesn't make you backtrack.