You have a 100 mL solution with a density of 1.000g/mL. This means you have: of solution.
So, you have the mass (m), the specific heat capacity of your solution (c, assumed to be that of water), and the change in temperature ( ). Plug in your values to get the amount of heat released.
To find , notice that there are of NaOH or KCl.
This means that for every 0.005 mol of NaOH or KCl used, the value you got for Q is the amount of heat released. So how much heat will be released if exactly 1 mol of NaOH or KCl used? You can then figure out (Look at the units, they give you big hints as to what you have to do!)