It is known that x = 3 is the solution of the linear equation 2x - (K / 2-1) x-3 = 0 with respect to x, and the value of K is obtained

It is known that x = 3 is the solution of the linear equation 2x - (K / 2-1) x-3 = 0 with respect to x, and the value of K is obtained

x=3
So 6-3 (K / 2-1) - 3 = 0
3(k/2-1)=3
k/2-1=1
k/2=2
k=4