You see, I thought I had taken some rest, but really my brain had continued to work on it.
Estão a ver, eu pensei que tinha descansado, mas na realidade o meu cérebro  tinha continuado a trabalhar no problema.