A Greeley teen will spend the next 40 years in prison after admitting to killing an 18-year-old and injuring another teen in a shooting in 2023.