Quote Originally Posted by saibot
What would it be if I were thinking about the general process of giving him a cake?
Variants:
Я думаю о том, как дать ему торт.
Я думаю о том, как я дам ему торт.
Я думаю о том, как буду давать ему торт. (here you emphasize that the process is continious)
Я думаю о том, как бы дать ему торт. (this one implies that you want to find a convenient way of giving him a pie because there are some obstacles, like there's a chance he won't accept it, etc)