Wow this is really hard.
The last level is like the puzzle equivalent of Path of Pain from Hollow Knight...