Need help writing arduino code.

I need help writing a basic code for a project of mine, i would like to learn but due to time constraints, i am struggling. the project consists of an automated device that must stop and drop cargo the continue on. My design for this consist of an arduino uno, 2 x 12V DC motors, a 12V power supply and 2x mosfets. the plan was to write a code that runs one motor for "x" amount of time, switches to the other motor for "x" amount of time, then back to the first motor. I would like to make it so these x values can be changed to suit. I have been told the Arduino itself can do this and am struggling to learn and write a code in time. Any and all help would be much apreciated. Thanks

Bullet_96: am struggling to learn and write a code in time. Any and all help would be much apreciated. Thanks

If you want someone to write code for you please ask in the Gigs and Collaborations section of the Forum and be prepared to pay.

...R