Solve problems 1.1.18 - 1.1.21.