Solve p345