In Genesis 41:1-36, the story from last lesson picks up. To recap a bit, Joseph was wrongly accused by Potiphar's oversexed, lonely wife of something he was not guilty of, and he ended up in prison where he won the trust of the jailer and subsequentially came into contact with a butler and a baker who had recently gotten on the wrong side of Pharaoh. Both of these men had dreams that troubled them, and Joseph, who was gifted at dream interpretation, counsels them by explaining the meaning of what they dreamed. The butler's dream was good news for him, but unfortunately not so much for the baker, who is later executed. The butler is restored to his position, and despite Joseph's request to remember him to Pharaoh, the butler goes on about his business and forgets all about what had happened. That is, until Pharaoh started having dreams that troubled him! It is at this point the story picks up.
The Pharaoh has two troubling dreams about essentially the same thing, with the same imagery, and he is so perplexed over them that he is trying to find out by any means possible what they mean. At this point, his butler has a brief moment of memory clarity, and said in essence, "Oh yeah, there was this guy in the jail who might be able to help you out, Your Highness." Apparently, these dreams were so disturbing that Pharaoh in essence says, "What the heck, why not? Bring this guy to me and we'll see what he can do." So, Joseph is brought before Pharaoh, and Pharaoh tells him the dreams. As Joseph is gifted in this area, he sees almost instantly what the dreams meant, and he interprets them to the detail, even without Pharaoh telling him what they were.