solve 2-18, 2-19