Complete Section 6.5 exercises