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 figure shown is a cube. The distance between vertices $B$ and $G$ is $5\sqrt{2}$ units. What is the volume of the cube, in cubic units?

[asy]

size(3cm,3cm);

pair A,B,C,D,a,b,c,d;

A=(0,0);
B=(1,0);
C=(1,1);
D=(0,1);

draw(A--B--C--D--A);

a=(-0.25,0.1);
b=D+(A+a);
c=C+(A+a);

draw(A--a);

draw(D--b);

draw(C--c);

draw(a--b--c);

draw(A--b,1pt+dotted);

label("$B$",b,W);
label("$G$",A,NE);

dot(A);
dot(b);

[/asy]
user