The time Xiao Ming spent on his way to school five times is x y 10 11 9. Given that the average of this group of data is 10 minutes and the variance is 2, what is the absolute value of X-Y? A (1) B (2) C (3) d (4), please write down the whole process,

The time Xiao Ming spent on his way to school five times is x y 10 11 9. Given that the average of this group of data is 10 minutes and the variance is 2, what is the absolute value of X-Y? A (1) B (2) C (3) d (4), please write down the whole process,

(X+Y+10+11+9)/5=10 ==> X+Y=20
(X-10)*(X-10)+(Y-10)*(Y-10)+(10-10)*(10-10)+(11-10)*(11-10)+(9-10)*(9-10)=2 ==>
(X-10)*(X-10)+(Y-10)*(Y-10)+0+1+1=2 ==>
(X-10)*(X-10)+(Y-10)*(Y-10)=0 ==>
X-10=0,Y-10=0
X=10,Y=10