The F2l Method solves the first two layers of the cube. Although it is common to do F2L by intuition here are the algorithms to solve each F2L case.