add problems 6 to 10