Given that the image of a function passes through a point (1,2), and the product of the abscissa of the intersection of the image and the X axis and the ordinate of the intersection of the image and the Y axis is 9, the analytic expression of the function is obtained

Given that the image of a function passes through a point (1,2), and the product of the abscissa of the intersection of the image and the X axis and the ordinate of the intersection of the image and the Y axis is 9, the analytic expression of the function is obtained

Let y = KX + B through (1,2)
2=k+b
b=2-k
y=kx+2-k
Intersection with X axis ((K-2) / K, 0)
Intersection with Y-axis (0,2-k)
(k-2)/k×(2-k)=9
k²+5k+4=0
k=-1,k=-4
y=-x+3
y=-4x+6