Solve problems 4.1.1, 4.1.2, 4.2.1.