1. move(red,table) 2. move(yellow,table) 3. move(orange,table) 4. move(green,orange) 5. move(yellow,green) 6. move(red,yellow) 7. move(purple,red)