Simplify (p^2+2p-51)/(p^2-6p-27)-4/(p+3)