Mega-Millions

Exactly how does the payout work? I'm sorta clueless with all of this and bought tickets from the local store and there's a few of the numbers on there that match. Some are in line with the order of the winning numbers and others aren't. Is there like a price you get for each number? IE: 02 = $100, 04 = $25, etc.
 
I'm not playing, or didn't play... I don't even know where we are on the timeline but it sounds like it's over. My fantasies about immense wealth aren't even very creative. I would be content to just have enough money in the bank to use the interest to draw my usual salary for the rest of my life without having to work. I guess the amount of money that would require is spare change compared to $640 million.