HELP

Find the weighted average.

The coordinate 5​ has a weight of 1​, and the coordinate 8​ has a weight of 2​ . I got this question wrong on a quiz, it said the answer was 7 but i put 1.5, I thought the formula was 2+1=3 then divide 3 by 2??