Problem

Source: 2021 Dürer Math Competition Finals Day2 E8 https://artofproblemsolving.com/community/c2749870_

Tags: algebra, polynomial



John found all real numbers $p$ such that in the polynomial $g(x) = (x -1)^2(p + 2x)^2$ , the quadratic term has coefficient $2021$. What is the sum of all of these values $p$?