A right triangle with integer leg lengths is called cool if the number of square units in its area is equal to twice the number of units in the sum of the lengths of its legs. What is the sum of all the different possible areas of cool right triangles?

This isn't the first time somebody posted this question but the last answer was incorrect.

supremecheetah May 20, 2023