to have exactly two common tangetns the circles must have to intersect each other at two points
so, r1+r2(distance between their centres)
solve this inequality and u wll get d ans.