You can put this solution on YOUR website! Since you don't say which distances you need, I will go ahead and do all;
first;
distance between E and A;
D=13
=======================
Distance between E and T;
D=10
=====================
distance between A and T;
D=13
:)