c1:x2+y2−2x+4y+1=0⇒(x−1)2+(y+2)2=4Centre (c1)=(1,−2),r1=2and c2:x2+y2−4x−2y+4=0⇒(x−2)2+(y−1)2=1Centre (c2)=(2,1),r2=1c1c2=d=(2−1)2+(1+22.=10Let the slope of direct common tangent be m the general line isy=mx+cthis line has perpendicular distance r1 from c1 and r2 from c2∴1+m2m(1)−(−2)+c=2⇒∣m+2+c∣=21+m2 and 1+m2m(2)−1+c=1⇒∣2m+c−1∣=1+m2Put the value of ' c ' from Eq. (i) to Eq. (ii)2m−1+(−m−2+2m2+1)=m2+1⇒m=3−m2+1Squaring both sides, we getm2=m2+10⇒m2+1−6m2+1⇒m2+1⇒=925⇒m2=916⇒m=34