A 19-year-old was sentenced to 37 years in prison after pleading guilty to being responsible for the death of a 15-year-old.