The expression 2x−23x(x−1)−6(x−1), where x=1, can be written in the form Ax+B. What is the value of A+B?
−23
23
3
−29