Find AB using the segment addition postulate. Show all work in setting up and solving your equation.

Answer:
AB = 12
Step-by-step explanation:
Segment addition postulate,
AC = AB + BC
24 = 2x+6+5x-3
Adding the like terms,
7x+3 = 24
Subtract 3 from both sides,
7x = 24-3
7x = 21
Divide by 7,
x = 21/7
x = 3
AB = 2x+6
AB = 2*3 + 6
AB = 6 + 6
AB = 12