Having trouble running DC motor for specific amount of time then stopping using milli()

Unfortunately, this code did not do the trick either. Same result.