To be fair to you, I would suggest that you will get a better response if you post the work you have done so far, or which part of the assignment you cannot grasp. The site gets a lot of help requests from students!
Do you understand how to control the motor without the timer?