Alternatively, There's a secret lever you may discover with a perception check that allows you to bypass the puzzle entirely.
I passed the perception check but can't see any secret lever. I find this with a lot of these checks - my character will say "Hey, what's that over there" and I have no idea of where "there" is.
Where's the lever?