A former teacher at a prestigious Perth girls school has been sentenced to 10 years jail for sexually abusing five students in the 1980s.