According to question, the centre of the required circle lies on the line x + y − 9 = 0.
Let the coordinates of the centre be .
Let the radius of the circle be a.
Here, a is the distance of the centre from the line 2x − y + 1 = 0.
Therefore, the equation of the circle is . ...(2)
The circle passes through (2, 5).
∴
Substituting t = 6 in (1):
Substituting the values of and t in equation (2), we find the required equation of circle to be .