Puzzle (something) out puzzle out (something)

To try to figure something out.

We spent much time trying to puzzle out a solution to our problem.