A former teacher was sentenced to decades in prison for bestiality, possession of child pornography, and sexual contact with a child.