The thermal energy of an object is the energy contained in the motion and vibration of its molecules. Thermal energy is measured through temperature. The energy contained in the small motions of the object's molecules can be broken up into a combination of microscopic kinetic energy and potential energy.
You pick out the numbers as well as what it is they represent from the word problem/explanation, then from there plug them in to the equations. Once you do that, you get your product and have the answer.