NOTE: the paper prints \(+10y\); with that sign no value of \(p\) works, so the intended circle is \(x^2+y^2-6x-10y+p=0\) (centre \((3,5)\)), which is solved here.
Centre \((3,5)\), \(r^2=9+25-p=34-p\).
\((1,4)\) inside: \((1-3)^2+(4-5)^2=5\lt 34-p\Rightarrow p\lt 29\).
The circle neither touches nor cuts the axes: \(r\lt\) distance to the y-axis \(=3\) (the smaller distance; the x-axis distance is 5), so \(34-p\lt9\Rightarrow p\gt25\).
Hence \(25\lt p\lt29\), i.e. \((25,29)\).
Answer: (2) \((25,\ 29)\)