There's only one real answer.
Give more money to schools and teachers so that classroom sizes are smaller and the children can be separated by learning ability and the lessons be catered towards them.
That's it.