how does remainder theorem work - Search