What is the value of k if the mid-point of the line joining (1 -…