What is the linear equation passing through the point (- 1,2) and tangent to the square of circle x + the square of y = 5?

What is the linear equation passing through the point (- 1,2) and tangent to the square of circle x + the square of y = 5?

Let the linear equation Y-2 = K (x + 1), that is, kx-y + 2 + k = 0, be tangent to the circle X & # 178; + Y & # 178; = 5, that is, the distance from the origin is √ 5. By using the distance formula from the point to the straight line, √ 5 = | 2 + K | / √ (K & # 178; + 1), we get 4K & # 178; - 4K + 1 = 0, and get k = 1 / 2. So the linear equation is 1 / 2x-y + 5 / 2 = 0