1. move(red,table) 2. move(yellow,red) 3. move(purple,table) 4. move(purple,red) 5. move(yellow,purple)