solve 2.10 - 2.22