
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
A person stands on a straight embankment and sees two buildings in a straight line, which makes an angle of $A$ with the embankment. After moving $D$ meters along the embankment, the person sees the two buildings at angles $B$ and $B^{\prime}$. Calculate the distance between the two buildings and the distance of each building from the embankment. Given: $A=45^{\circ}, \quad D=400,$ $\quad B=15^{\circ}, \quad B^{\prime}=75^{\circ}$.

Present the answer in LaTex format: \boxed{Your answer}
user