Step 1: Understanding the given conditions The given lines \( x+y = 2 \) and \( x-y = 2 \) are perpendicular, forming a square with the given circle.
Step 2: Finding the required circle equation Using the standard form of a circle and solving for the appropriate radius satisfying the tangency conditions, we get: \[ (x - \sqrt{2})^2 + y^2 = 3 - 2\sqrt{2}. \]
If the equation of the circle whose radius is 3 units and which touches internally the circle $$ x^2 + y^2 - 4x - 6y - 12 = 0 $$ at the point $(-1, -1)$ is $$ x^2 + y^2 + px + qy + r = 0, $$ then $p + q - r$ is: