I’d tell him/her to review the question in a bit more detailed manner or study more, offer to help him or direct him to a teacher or qualified person.
Getting upset in any situation does not really help solve it, the best bet is to stay positive :)
Hope that helps