Talk to Callahan and Doc. They'll give you all of the details, along with some sample riddles, so I won't bother to repeat them here. You have to keep asking them for more help every time you have a dialog choice, or else they'll stop giving you instructions until you start the conversation all over again.