If the positive scale function y of the image passing through point a (- 2,6) is KX, then K is K

If the positive scale function y of the image passing through point a (- 2,6) is KX, then K is K

Substituting point a (- 2,6) into y = KX,
We get - 2K = 6
k=-3