Mean of a set of observations
$x_{1}, x_{2},..., x_{10}=20$
Then, according to question,
$\frac{x_{1}+4+x_{2}+8+x_{3}+12+...+x_{10}+40}{10}$
$=\frac{x_{1}+x_{2}+...+x_{10}}{10}+\frac{4(1+2+\ldots+10)}{10}$
$-20+\frac{4 \times 55}{10}-20+\frac{220}{10}$
$=20+ 22=42$