Spoiler:
You need an extra cat. There is one in the preceding room, but you don't have enough movement. If you've opened the wormhole in 7,17 then you already have what you need. If you haven't, then you've got some other puzzles to solve first.
Then stack the cats and rocks so that you have the rocks above and below the flag, one cat on the flag, and one cat above. Then go straight down.