add solution for Q4.5