Step 1. Place
cacoons around the "x". Take care where you place
the cacoons.
Step 2. Use the answer to burst through the cacoons and undo
the operation inside.
Step 3. Continue with step 3 until no more cacoons exist.
Watch the animation
below, the steps will become clear.