Pay off second loan or invest cash elsewhere?

Mom needs to weigh gift tax, mortgage interest benefits