You can cancel out a -7k term, because it appears in both sides:
[tex] 7-6k = -7k [/tex]
Now add 6k to both sides:
[tex] 7 = -k [/tex]
change sign to both sides:
[tex] k = -7 [/tex]