I found the solution to level 2: spawn the black box by touching the X button, then move your white circle into the black box, and continue dragging and moving until you reach the arrow pointing down.