Question

$$x^{2}-\frac{2}{p}(p^{2}+1)x+4$$

Evaluate

$\frac{\left(x-2p\right)\left(px-2\right)}{p}$

Expand

$-2px+x^{2}-\frac{2x}{p}+4$