If the lines represented by \[(k^2+2) x^2+3 x y-6 y^2=0\] are perpendicular to each other, then the values of \[\mathrm{K}\] are