Let x+5=14cosθ and y−12=14sinθ, for θ∈[0,2π).
Hence
x2+y2=(14cosθ−5)2+(14sinθ+12)2=142+52+122−140cosθ+336sinθ=365+28(12sinθ−5cosθ)
=365+28×13sin(θ−φ)=365+364sin(θ−φ),
where tanφ=125.
So x2+y2 has the minimum value 1, when θ=23π+arctan125, i.e. x=135 and y=−1312.
Answer: B.