Need help with questions 18,20, and 22 please and thank you

Answer:
18. x² + x - 4
20. [tex]\frac{x^{2} +2x-3}{x+1}[/tex] or [tex]x + 1 - \frac{4}{x+1}[/tex]
22. x² + 2x - 2
Step-by-step explanation:
For some reason my work was unable to be submitted so please see attachment for detailed explanation