How do you write #(z^3-8)/(z^2+2z+4)# in simplest form?

Redirected from "How to find p ?"