Help with programing

Hello I need help in programming Arduino Nano.
I'm a mechanic and I have no idea about programming codes, etc.
I want it to Arduino operate as follows:
When it comes to 0V input signal at the output I get a signal for time 1.3MS and continue PWM30% duty, but when the voltage at the input rises back to 5V, the output signal disappears.
I want to create a peak & hold driver for injectors. injectors need starting signal 1.3MS and then 30% PWM to hold the injector open.
I need it 4 such inputs and outputs.
thanks for the help

Are you prepared to learn how to do it or do you want someone to do it for you and possibly charge to do it ?

I would love to learn. I've started something. Input works as I want.
At the exit, I have a PWM signal, but I do not have peak pulse
PWM 30%
6khz Thats what I need only with peak pulse and 4 individual chanels.
English is noth my language sorry for that.

void setup() {
//start serial connection
//configure pin2 as an input and enable the internal pull-up resistor
pinMode(2, INPUT_PULLUP);
pinMode(3, OUTPUT);

void loop() {

int sensorVal = digitalRead(2);
if (sensorVal == HIGH){
digitalWrite(3, LOW);
} else {
digitalWrite(3, HIGH);
digitalWrite(3, LOW);