Solution 8: solve P3
Solution 8: solve P4

Again, with help of the forum.