When potassium and Chlorine form a chemical compound…?
I am not too sure what your question is, but energy is released when potassium and chlorine combine to form potassium chloride.