Each lab counts once 80 + 84 + 87 = 251
Each test counts as two labs: 83 + 83 + 89 + 89 = 344
The final lab counts as 3 labs: x + x + x = 3x, where x is the unknown score on the final lab
We want the average to equal 85 (an A - wow, wish I'd gone to that school). To get the average you must divide the sum of the scores by the number of scores, where the number of scores =10 (3 regular lab scores + 4 tests scores (2 tests counted double) + 3 final lab scores (final lab counted triple))
(251 + 344 + 3x)/10 = 85
595 + 3x = 850
Solve for x