We formulate the null and alternative hypothesis here to state that battery life of the laptop lasts at least 12 hours(more than but not less, null hypothesis) or that it lasts less than 12 hours(alternative hypothesis).
The null hypothesis is the one being tested to know whether we would reject it or not in which case we choose the alternative hypothesis. To test the hypotheses, we do a t test using a significance level of say 0.05(95% confidence interval) and find our p value in order to compare and decide if the null hypothesis would be rejected or not based on statistical significance.
You start with 4 servings of macaroni and cheese with 310 calories per serving. She made 1 1/2 times more of the 4 servings. 1 1/2 as a decimal is 1.5, and 1.5 times 4 is 6. With 310 calories per serving you get the problem 6 x 310 which equals 1,860. Therefore, there are 1,860 calories in Maeve's mac n' cheese