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