Somebody help me with this question please thank you

The third sentence is correctly capitalized because it follows the rules of capitalization and capitalizing of a sentence.