As shown in the figure, the coordinates of the center C are (2,2), and the circle C is tangent to the x-axis and y-axis. (1) find the general equation of the circle C; (2) find the linear equation which is tangent to the circle C and has the same intercept on the x-axis and y-axis

As shown in the figure, the coordinates of the center C are (2,2), and the circle C is tangent to the x-axis and y-axis. (1) find the general equation of the circle C; (2) find the linear equation which is tangent to the circle C and has the same intercept on the x-axis and y-axis

(1) If the coordinates of the center C are (2,2) and the circle C is tangent to both the X and Y axes, then the radius r = 2. Therefore, the equation of the circle C is: (X-2) 2 + (Y-2) 2 = 4, and the general equation is: x2 + y2-4x-4y + 4 = 0 (2) x+y-4±22=0.