
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
Car A is traveling at 20 miles per hour. Car B is 1 mile behind, following at 30 miles per hour. A fast fly can move at 40 miles per hour. The fly begins on the front bumper of car B, and flies back and forth between the two cars. How many miles will the fly travel before it is crushed in the collision?

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