I guess this is what you wanted.
data awt5_2;
input x1 x2 @@;
cards;
3 2.30
5 1.90
5 1.00
7 0.70
7 0.30
7 1.00
8 1.05
9 0.45
10 0.70
11 0.30
;
proc sql;
select x1, x2, mean(x1) as x1bar, mean(x2) as x2bar,
sqrt( (x1-mean(x1))**2 + (x2-mean(x2))**2 ) as dist
from awt5_2;
quit;
**********************
x1 x2 x1bar x2bar dist
ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ
3 2.3 7.2 0.97 4.405553
5 1.9 7.2 0.97 2.388493
5 1 7.2 0.97 2.200205
7 0.7 7.2 0.97 0.336006
7 0.3 7.2 0.97 0.699214
7 1 7.2 0.97 0.202237
8 1.05 7.2 0.97 0.80399
9 0.45 7.2 0.97 1.873606
10 0.7 7.2 0.97 2.812988
11 0.3 7.2 0.97 3.858614