Memory is key. Remember where the safe blocks are while avoiding the unsafe blocks to reach the purple block.
I recommend using a grid pattern to make it easier to tell how many squares long a path is.