dash and then jump. That's all you have to do. One thing I've done with Mega Man games is nearly hold my finger on the dash button. Almost every jump I would make would be while holding the dash button. Once you're dash jumping all over the place, a lot of the game's hazards won't be that much of an issue for you. Dash jumping and Mega Man X are the bread and butter of the whole series. It's an essential mechanic you have to learn.