Hello.....arshad,,,,the condition given by you is only for the standard circle...x^2 + y^2 = a
Now the best method.....is to find the perpendicular distance from centre to the lline and equate with radius...let me try the question..
circle is x^2 + y^2 -ax -by =0
centre is ( a/2,b/2)
radius is r = 1/2*√a^2 + b^2
Now line is cx -by + b^2 = 0
Perpendicular distance = ac/2 - b^2/2 + b^2 /√c^2 + b^2
now equate both and get the relation