How do you get through The Rocket HQ on island 5 in Pokemon LeafGreen?

Well you first have to go to six island and you go into the "dotted hole". At the entrance, use cut to open the door. Go through the dotted hole. You will see a scientist, and he will get you the second password. Last you go back to the rocket warehouse and go in. Thanks for asking!