Here's how you do it:
1. Use Luke Skywalker to climb onto the walker's back.
2. Use Luke's lightsaber to cut the walker's legs. You'll need to cut all four legs to disable it.
3. Once the legs are cut, the walker will fall over, effectively destroying it.
Let me know if you have any other questions about Lego Star Wars: The Complete Saga!