solve 40, 42