Step 5: Solve the Middle Layer
So now that you have the top layer done, you should be able to make a "small 'T'" on each side by simply turning the middle layer until the middle centerpiece of nColor matches up with its respective colored "side" of the top face.
Now, follow these steps:
1. Once you have that, rotate the bottom layer until it makes a "larger 'T'" with the "small 'T'"
2. Look under that piece to make sure that it isn't green (only in the case of solving for the blue side first. If you're solving for the yellow side, make sure it isn't white. If you're solving for the orange side, make sure it isn't red, and visa versa for all 3 cases)
3. Decide which way it has to go (to the left or to the right (according to the picture)) by seeing which color is on the bottom. (In the example, if the bottom red pieces' bottom was yellow, it would go right)
4. Follow the provided algorithm in order to move the piece, making sure that you're looking at the cube so that the "larger 'T'" faces you.