LTM Limited interview question

How we can use sum function