(1)ab = -2x + (-1)*1 = -2x - 1 = -7
|a+b| = |(x-2,0)| = |x-2| = 1
(2)cos=ab/(|a|*|b|)=(-2x-1)/√5(x^2+1)>0
解得x范围是x < -1/2