Teacher sentenced to 35 years for sexually abusing students