Final exam solutions