Transformed: The singer showed off her new look after completing a charity triathlon (pictured before her weight loss in 2016)