HELP! Managerial accounting hw question

please help with this question.