Check the final answer first, then review the worked steps.
$p^3 - 5p^2 + 8p - 4 = 0$$(p-1)(p^2 - 4p + 4) = 0$$(p-1)(p-2)^2 = 0$$p = 1, 2$