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 triangle $ABC$, $\angle C=90^\circ$, $AC=6$ and $BC=8$. Points $D$ and $E$ are on $\overline{AB}$ and $\overline{BC}$, respectively, and $\angle BED=90^\circ$. If $DE=4$, then what is the length of $BD$? [asy]
import olympiad; import geometry; size(150); defaultpen(linewidth(0.8));
draw(origin--(6,0)--(6,8)--cycle);
draw((2,8/3)--(6,8/3));
dot("$A$",origin,SW); dot("$B$",(6,8),NE); dot("$C$",(6,0),SE); dot("$D$",(2,8/3),W); dot("$E$",(6,8/3),E);
draw(rightanglemark((6,8),(6,8/3),(2,8/3),12));
draw(rightanglemark((6,8),(6,0),(origin),12));
[/asy]
user