
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
Chewbacca has 40 pieces of peach gum and 50 pieces of mint gum. Some of the pieces are in complete packs, while others are loose. Each complete pack has exactly $y$ pieces of gum. If Chewbacca loses two packs of peach gum and then finds 3 packs of mint gum, then the ratio of the number of pieces of peach gum he has to the number of pieces of mint gum will be exactly the same. Find $y$.

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