Man sentenced to 10 years for second-degree murder plea