Use the Magma Bazooka weapon against him.
You pick it up from Magma Man, and it is the weakness Hornet Man folds to, so beat Magma Man first and the fight becomes straightforward.