Flowers sentenced to 40 years for killing pregnant teen in 2012