Answer:
x = 8
Explanation:
the average is calculated as
average =

given that the average of both sets of data are equal then
=
( cross- multiply )
3(4 + x) = 2(10 + x) ← distribute parenthesis on both sides
12 + 3x = 20 + 2x ( subtract 2x from both sides )
12 + x = 20 ( subtract 12 from both sides )
x = 8