Complete The 4th level at the water place.
What you do is instead of swimming sideways you swim up to a hole in the top and go through it.
Then press the switch to make the water go even higher and go through the passage at the top.
You should see a red flag.
Jump onto it and it will unlock a new special level.
Complete that level and you can go to the cannon.