You have to form color lines using boxes that change color every time you select a line. This boxes change from red to yellow, to green and then back to red.
The game is actually 3 games in one. Try to complete them all as quickly as possible and before the time runs out! After a while a hint will pop up and then if you spend way too much time a skip button will pop up.