completed 7.6 exercise