How to code a 2 Axis System

new to coding, i am building a 2 axis system using a arduino and a motor shield

Why is it that many beginners new to coding expect to be able to code something very complex?
I suggest you go through the example files in the IDE and understand what they do and how to change them before you embark on anything as complex and incompletely explained as this?