Wily Machine's first form is easier than the entirety of Wily Machine 1. You just need to jump over its shots and fire back. It doesn't have i-frames, so it will be defeated in seconds.
Second form, on the other hand, cannot be defeated by buster shots without taking damage, since it's bouncing projectiles will at one point leave you with no room to dodge. So just feed it a Crash Bomb and move on.
![](https://s2.save4k.ru/pic/7vD8ZUBgfIM/mqdefault.jpg)