The scorpion fight is won by using your own drawings, which is the point of the whole game.
When the scorpion releases its poison cloud, platforms appear — but only the ones you have drawn. Jump up onto them and you will find Wilfe, the shadow figure, within reach. Strike him with your sword. Landing the hit damages the scorpion itself, which is not obvious from watching the animation.
Watch for the circle that appears above the scorpion's head. That indicates it is stunned, and it is your cue to perform a ground pound for solid damage. Repeat the pattern — cloud, platforms, hit Wilfe, ground pound — until the scorpion goes down.
Make sure your platform drawings are wide enough to land on reliably before starting. A badly drawn cloud is the most common reason the sequence falls apart mid-fight.