Answer:
42
Step-by-step explanation:
We know that the mean of 6 numbers is 24. This means that
[tex] \frac{x}{6} = 24[/tex]
Solve for x.
[tex]x = 144[/tex]
If we add, x, (x+2), and (x-2). We will have 9 terms. The value of mean will change to 30. This also means that
[tex] \frac{270}{9} = 30[/tex]
[tex]144 + x + (x + 2) + (x - 2) = 270[/tex]
[tex]3x + 144 = 270[/tex]
[tex]3x = 126[/tex]
[tex]x = 42[/tex]