Divide synthetically by (x−2) using the coefficients 1,−5,8,−4: bring down 1, then −5+2=−3, then 8−6=2, then −4+4=0. The remainder is 0, and the depressed polynomial is x2−3x+2.
That quotient still vanishes at 2, since 4−6+2=0, so the factor (x−2) divides P at least twice.
P(x)=(x−2)2(x−1)
The multiplicity of 2 is even, so the graph touches the axis at (2,0) and turns back. Since P is positive on both sides of 2, that point is a local minimum sitting exactly on the axis, not above it.