what is the problem in this motor control arduino code

thanks for your fast reply, actually I am new to Arduino prog. and don't know expert programming, can you please help in writing a sample code. please.......