Divide by (x−2) synthetically, using the coefficients 1,−3,0,4. Bring down 1, multiply by 2 and add to get −1, multiply by 2 and add to get −2, multiply by 2 and add to get 0. The remainder is 0, so the depressed polynomial is x2−x−2.
Now divide by (x−2) again, since a second zero remainder would mean x=2 repeats. Testing the depressed polynomial at 2 gives 4−2−2=0, so it does.
P(x)=(x−2)2(x+1)
The multiplicity of x=2 is 2, which is even, so the graph touches the axis there and turns back.