combining ex 6-7 writeup
fixing typo