I stalled out for a long time on level 2 and then somehow when I found a solution for it the same exact thing worked for levels 3 and 4.