wearing its geek credentials with pride, the school chose a name that is a reference to the answer to the life, the universe, and everything from douglas adams’ the hitchhiker’s guide to the galaxy.

How would the previous sentence be correctly capitalized?
Wearing its geek credentials with pride, the school chose a name that is a reference to the answer to the life, the universe, and everything from Douglas Adams’ The Hitchhiker’s Guide to the Galaxy.