ex 8.14 book solution fixed