solution to p7