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: The rules for a race require that all runners start at $A$, touch any part of the 1200-meter wall, and stop at $B$. What is the number of meters in the minimum distance a participant must run? Express your answer to the nearest meter. [asy]
import olympiad; import geometry; size(250);
defaultpen(linewidth(0.8));
draw((0,3)--origin--(12,0)--(12,5));
label("300 m",(0,3)--origin,W); label("1200 m",(0,0)--(12,0),S); label("500 m",(12,0)--(12,5),E);
draw((0,3)--(6,0)--(12,5),linetype("3 3")+linewidth(0.7));
label("$A$",(0,3),N); label("$B$",(12,5),N);
[/asy]
user