If the squared difference of the quadratic polynomial f(X)=x2+px+45 is equal to 144, find the value of p.