I need Sleep 101... from what to eat and cut, habits and things I should do to when to sleep and wake up.

Some sleep calculator recommended me to wake up at 5:45 AM or 7:15 AM if I were to sleep at 10:00 PM. One's 7.5 hours of sleep the other's 9. I am 20 years old. Which one to use?