He worked it out with a pencil!
Because when he asked his wife how many eggs to buy, she said 4!
The same way he solved all other problems: He worked it out with a pencil and paper.
He worked it out with a pencil
He works it out with a pencil
He was relieved of doodie.