The required circle by S + λP = 0 is
x2+y2−2x+1+λ(x+2y−1)=0
or x2+y2−x(2−λ)+2λy+(1−λ)=0
centre (−g,−f)is(2−λ2,−λ)
r=√g2+f2−c=√(2−λ)24+λ2−(1−λ)=12√5λ2=√52|λ|
Since the circle touches the line 2x - y + 3 = 0 therefore perpendicular from centre is equal to
radius ∣∣∣2.((2−λ)/2)−(−λ)+3√5∣∣∣=|λ|2√5∴λ=±2
Putting the values of λ in (i) the required circles are
x2+y2+4y−1=0⇒x2+y2−4x−4y+3=0