To defeat the machine in the north pole that appears after katara is taken by the fire guys, use sokkas boomerang (b) to hit its arms. It will flash white when you can attack it. Use aangs air strike (b) quickly to attack. Do this for a while until its health bar is 0. Also, use the air strike to block fireballs.
All brands, logos, and product names are trademarks or registered trademarks of their respective holders.