question3 solution