Handling missing terms | Algebraic Long Division