problems 1 to 6