add solution for Q3.4