The educational exemption applies
if:The copyrighted material is used in a classroom or school library.The material is used as a part of face-to-face instruction with students. A teacher must be in charge and the material must relate directly to the subject being taught.
The amount of the work used is only as much as is
required for this lesson.The material must be legally acquired. (Purchased, rented, or borrowed from a library.)