First, find out how many markers in total the teacher will need.

Then, find out how many packages the teacher will need by dividing by 8 because that's how many are in each package.

Now because there is a remainder of .375 that tells us that there are not enough markers in 9 packages to give all students 3 each.
She will have to buy an additional package to give every student 3 markers each.
10 Packages are needed.