Encik Gopal originally had 64 apples. He wanted to give 4 apples to each child in a class. After giving out apples evenly to the children, he had 8 apples remaining. To determine the number of children in the class, we can set up an equation: Original apples - Apples given to children - Remaining apples = 0 64 - 4x - 8 = 0 Solving for x gives the number of children as 16.