Solve the Cube Template