programming of new arduino nano.

please am new, am just starting with Arduino, it's very nice but still, I don't know how to program.
if someone can help me and send the codes for the project bellow.
I will send the attached picture for the project.
in this project, I need to run two motors with a push button, one for start, and the second to stop the system.
but if the motor 01 is started for 1 second, when the timer is done it goes off and on some time the second motor will start for 1 second and goes off.

Post your attempt at the code and we can help you.

Read the how to use this forum-please read sticky to see how to properly post code. Remove useless white space and format the code with the IDE autoformat tool (crtl-t or Tools, Auto Format) before posting code.

What are the transistors (Part number, data sheet)?

Switches are more commonly wired from ground and a digital input, with the internal pullup resistor enabled, in the real world. See this page.

If TinkerCad does not tell you that without current limiting resistors on your transistor base circuits, you are going to burn out your transistors, Arduino or BOTH, then I sure as h*ll wouldn't trust TinkerCad with my expensive components.

well noted thank you.