On the number line below length
AB={?}

here the length AB is the difference between 17 and -34.
i.e. AB=17-(-34)=17+34=51 units