The second painter's problem book