Equation is x(x+2)(12−k)=2. For any fixed k, treat x as the variable.
Divide both sides by (12−k) (allowed if k=12) to get a quadratic in x:
x(x+2)=12−k2
Expand:
x2+2x−12−k2=0−(1)
For equation (1) to have equal (repeated) roots, its discriminant must be zero.
For a quadratic ax2+bx+c=0, discriminant Δ=b2−4ac.
Here a=1,b=2,c=−12−k2.
Set Δ=0:
22−4(1)(−12−k2)=0
4+12−k8=0
Divide by 4:
1+12−k2=0
12−k2=−1
Cross-multiply:
2=−(12−k)
k=14
Thus k=14 (note k=12 is satisfied).
The required point is (k,2k)=(14,7).
Distance of point (x1,y1) from line Ax+By+C=0 is
D=A2+B2∣Ax1+By1+C∣.
Here A=3,B=4,C=5,(x1,y1)=(14,7):
Numerator:
∣3(14)+4(7)+5∣=∣42+28+5∣=∣75∣=75
Denominator:
32+42=9+16=5
Therefore
D=575=15
Hence the distance is 15.
Option A is correct.