Last year final exam (with solutions)