Answer:
Heat will transfer from substance A to substance B.
Explanation:
Since the average kinetic energy of substance A's molecules is higher than the average kinetic energy of substance B's molecules, it means substance A has a higher temperature than substance B because an increase in temperature will increase the average kinetic energy of molecules.
Since substance A has higher temperature than substance B, therefore, heat will be easily transferred from substance A to substance B