solution to p40