Solve the following math problem efficiently and clearly:

- For simple problems (2 steps or fewer):
Provide a concise solution with minimal explanation.

- For complex problems (3 steps or more):
Use this step-by-step format:

## Step 1: [Concise description]
[Brief explanation and calculations]

## Step 2: [Concise description]
[Brief explanation and calculations]

...

Regardless of the approach, always conclude with:

Therefore, the final answer is: $oxed{answer}$. I hope it is correct.

Where [answer] is just the final number or expression that solves the problem.

Problem: In the diagram below, triangle $ABC$ has been reflected over its median $\overline{AM}$ to produce triangle $AB'C'$.  If $AE = 6$, $EC =12$, and $BD = 10$, then find $AB$.

[asy]
size(250);
pair A,B,C,D,M,BB,CC,EE;
B = (0,0);
D = (10,0);
M = (15,0);
C=2*M;
A = D + (scale(1.2)*rotate(aCos((225-144-25)/120))*(M-D));
CC = D + D + D - A - A;
BB = reflect(A,M)*B;
EE = reflect(A,M)*D;
draw(M--A--BB--CC--A--B--C--A);
label("$M$",M,SE);
label("$A$",A,N);
label("$B$",B,SW);
label("$C$",C,SE);
label("$C'$",CC,S);
label("$B'$",BB,E);
label("$D$",D,NW);
label("$E$",EE,N);
label("$12$",(EE+C)/2,N);
label("$6$",(A+EE)/2,S);
label("$10$",D/2,S);
[/asy]
user