1. add solution for p5
2. add solution for p6