
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
The base of the pyramid is a square. Two of the lateral faces are perpendicular to the plane of the base, while the other two are inclined at an angle of $45^{\circ}$ to it. The middle-sized lateral edge has a length of $l$. Find the volume and the total surface area of the pyramid.

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