solutions for final exam version b 7586859