Man sentenced to 40 years following deadly daycare crash