$\text{Giải thích các bước giải:}$
$\text{Câu 4 :}$
$\text{Ta có :}$
$\overline{X} = 6,8 = \dfrac{5 × 2 + 6n + 9 × 2 + 10 × 1}{2 + n + 2 + 1}$
$⇒ 6,8 = \dfrac{10 + 6n + 18 + 10}{5 + n}$
$⇒ 6,8 = \dfrac{38 + 6n}{5 + n}$
$⇒ 6,8 × (5 + n) = 38 + 6n$
$⇒ 34 + 6,8n = 38 + 6n$
$⇒ 6,8n - 6n = 38 - 34$
$⇒ 0,8n = 4$
$⇒ n = 5$
$\text{Vậy n = 5}$
$\text{Chúc bạn học tốt !}$