Solve for k x^2-3kx+3k-7=0