The Brain Tree is located in the Haunted Woods. He will give you quests to go on.
Finishing the Quest
Return to the Brain Tree and tell him the two answers. Make sure you tell the Brain Tree the answers exactly as the Esophagor told you. Unless you forgot, and didn't write down the answers he will tell you that you are correct.
You will then be given your reward.