How to get the result of a: B from (B-A): a = a; b

How to get the result of a: B from (B-A): a = a; b

(b-a):a =a:b
a^2+ab-b^2=0
a=1/2*(-1±√5)b
a:b=1/2*(-1±√5)