Solutions to set 1, problems 1 through 6.