How do you get the password for FireRed Pokemon?

ok first u must go to the island were you here the to rocket members talking to get the first password then go to the rocket hideout they talk about and use cut on the door to get the second password