Solve p131