Defined the problem for each question in problem number 3