It is known that the average and variance of a group of data x1, X2... And X10 are 3 and 2, respectively. Then the average and variance of another group of data 2x1-1, 2x2-1... And 2x10-1 are respectively 3 and 2

It is known that the average and variance of a group of data x1, X2... And X10 are 3 and 2, respectively. Then the average and variance of another group of data 2x1-1, 2x2-1... And 2x10-1 are respectively 3 and 2

The average of x1, X2... And X10 is 3, and the variance is 2
(x1+x2+x3+------+x10)/10=3
x1+x2+x3+------+x10=30
[(x1-3)²+(x2-3)²+(x3-3)²+-----+(x10-3)²]/10=2
(x1-3)²+(x2-3)²+(x3-3)²+-----+(x10-3)²=20
The average of 2x1-1, 2x2-1,..., 2x10-1 of another set of data is as follows:
(2X1-1+2X2-1+...+2X10-1)/10
=[2(x1+x2+x3+---+x10)-10]/10
=(x1+x2+x3+------+x10)/5-1
=30/5-1
=5
The variance of 2x1-1, 2x2-1,..., 2x10-1 in another set of data is as follows
[(2x1-6)²+(2x2-6)²+----+(2x10-6)²]/10
=4[(x1-3)²+(x2-3)²+(x3-3)²+-----+(x10-3)²]/10
=4*20/10
=8