If the points where the lines $3x-2y-12=0$ and $x+ky+3=0$ intersect both the coordinate axes are concyclic,then the number of possible real values of k is
(A)1 $\hspace{2cm}$(B)2$\hspace{2cm}$(C)3$\hspace{2cm}$(D)4
My attempt:I used Ptolemy theorem$AC\times BD=AB\times CD+BC\times AD$ but the calculations and simplifications are very messy and clumsy.Is there an elegant way of solving this problem?


The intercept-intercept forms of the lines are as follows: $$\begin{align} \frac{x}{4} + \frac{y}{-6} &= 1 \qquad\to\qquad \cases{ x\text{-intercept: }\;\phantom{-}4 \\ y\text{-intercept: }\;-6}\\[6pt] \frac{x}{-3} + \frac{y}{-3/k} &= 1 \qquad\to\qquad\cases{ x\text{-intercept: } \;-3 \\ y\text{-intercept: }\;-3/k } \end{align}$$
So, we have this situation, with $\overleftrightarrow{AB}$ being the first line, and $C$ being a point on the second line:
Note that the question asks for the number of values of $k$ that solve the problem; that is, the number of points on the $y$-axis that are concyclic with $A$, $B$, $C$. Clearly,
While we don't actually need to determine the associated values of $k$, it's pretty easy to do.
For solution point $B$, the $y$-intercept is $-6$; thus, $-3/k = -6$, so that $k = 1/2$.
For solution point $D$, we calculate the power of the origin point with respect to the circle in two ways, and set them equal: $$\begin{align} |\overline{OA}|\;|\overline{O C}| &= |\overline{OB}|\;|\overline{OD}| \\ 4\cdot 3 &= 6 \cdot |\overline{OD}| \\ 2 &= |\overline{OD}| \end{align}$$ Since $D$ is at distance $2$ from the origin, and it has a positive $y$-coordinate, we have $-3/k = 2$, so that $k = -3/2$.