The time (minutes) taken by a person on his way to work five times are x, y, 14, 12 and 13 respectively. Given that the average of this set of data is 12 and the variance is 2, then the value of | X-Y | is 0

The time (minutes) taken by a person on his way to work five times are x, y, 14, 12 and 13 respectively. Given that the average of this set of data is 12 and the variance is 2, then the value of | X-Y | is 0

x+y+14+12+13=5*12
x+y=21
(x-12)^2+(y-12)^2+4+0+1=2*5
(x-12)^2+(y-12)^2=5
X = 10, y = 11, or x = 11, y = 10
|x-y|=1