Respuesta :

You didn't, you mistook the 9 to be a like term with 7k.
What yo actually have to do is:
 7k= 6k+9
-6k  -6k
k=9

Hope this helps :)