Here's exercies 8 and 9/