Step 1: Finding the center and radius of the given circle
The given circle equation:
\[
x^2 + y^2 - 4x - 6y - 12 = 0
\]
Rewriting in standard form, complete the square:
\[
(x - 2)^2 - 4 + (y - 3)^2 - 9 - 12 = 0
\]
\[
(x - 2)^2 + (y - 3)^2 = 25
\]
Thus, the center is \( (2,3) \) and radius \( R = 5 \).
Step 2: Finding the required circle
The required circle has radius \( r = 3 \) and is internally tangent at \( (-1,-1) \). Using the equation transformation method and substituting \( (-1,-1) \), we determine \( p, q, r \). After calculation,
\[
p + q - r = 2.
\]