The given equation is `kx-y=3k-6.`
It has the x-intercept of 5. So, putting x=5 and y=0 in the above equation we get:
Now, plugging the value of k in the above equation we get:
This is the equation of a straight line where -3=k is the slope of the line.