Twist the bottom layer so that one of the white corners is directly under the spot where it's supposed to go on the top layer. Now, do one of the three algorithms according to the orientation of the piece, aka. in which direction the white sticker is facing. If the white corner piece is where it belongs but turned wrong then first you have to pop it out.
The Rubik’s cube has recently begun making a comeback. Invented in 1974, it is the world’s best-selling toy. But solving them takes thought, effort, and skill . . . so why not let a robot do it? In this project, we take a Raspberry Pi, a BrickPi, and a set of LEGO Mindstorms and build a Rubik’s cube solving robot. Simply place an unsolved Rubik’s cube in the solver, run the python program, and your Rubik’s cube is solved!

Build A Rubix Cube

Here, we're looking at the colours that aren't solved. There are 21 different cases for the top layer, but we only need a couple of algorithms to solve them all. The first thing we want to find is headlights. Only 2 of the cases don't have any headlights (one of them is if you skip this step, and the cube is already solved). For the one case without headlights, just perform the algorithm below from any angle. This is a better case because when you do the next step, the cube will be solved already.
The standard Rubik's cube has sides of about 2.2 in (5.7 cm) per square. Various other sizes have also been produced such as a 1.5 in (3.8 cm) mini cube, a 0.8 in (2 cm) key chain micro cube, and a 3.5 in (9 cm) giant cube. While the standard cube is a 3 × 3 × 3 segmentation other types have also been introduced. Some of the more interesting ones include the 2 × 2 × 2 cube, the 4 × 4 × 4 cube (called Rubik's Revenge) and the 5 × 5 × 5 cube. The shape has also been varied and puzzles in the form of a tetrahedral, a pyramid, and an octahedral are among types that were produced. The Rubik's cube also led to the development of game derivatives like the Rubik's cube puzzle and the Rub it cube eraser. Rubix Building Solutions
For decorative purposes, a colorant is typically added to the plastic. The pieces of a Rubik's cube are typically black. During production, colored stickers are put on the outside of the cube to denote the color of a side. The plastics that are used during production are supplied to the manufacturer in a pellet form complete with the filler and colorants. These pellets can then be loaded into the molding machines directly.
If there are no more edges left on the top layer, then they are probably either inserted in the right place but flipped, or inserted in the wrong place. To get an edge out of somewhere it shouldn't be, just insert one of the yellow edges into that slot. This should get the edge out and on the top layer, ready for you to use the above instructions to insert correctly. Rubix Build