answer for q3