kill(all);

van=facebook.com/LearningCalculus$

f(a,b):=a^2+a*b+b^2-sqrt(3)*b + 1 = 0$

s:solve(f(a,b),a);

     b-a:

[(radcan(b-rhs(first(s)))),(radcan(b-rhs(second(s))))];