Cory had a music theory exam coming up. 40% of her test scores came from unit tests. 60% of her score came from her final test. Her average score for her 40% was 96. Her score for the 60% was 87. What was her final score?