accelstepper help needed

this is so much more difficult than I thought it was going to be :frowning:
I bought 14 of these little motors, in hopes of controlling them freely, but it's not so easy lol

i basically want to control the motor for example

(in absolute position relative to the start position of the stepper)

50 steps forward

100 steps backward

1000 steps forward

400 steps backward

.........

it needs to move in specific amount as i need it

i also have to drive two of these,, so I hope I can use the code I have posted above