think of

To create in one's mind; to originate an idea through thought.

I only had ten minutes to think of a solution.