Solve problems 5.1.3, 6.1.1.