What is the length of AB?

Answer:
10
Step-by-step explanation:
it is the 3,4,5 triangle times two in lengths