plotter arm xyz

i have a 4 servo motors and i made a 3d printed arm and i want make this arm to draw how can i do this :)

how can i do this

Since you think you know the point that the arm needs to reach, and you know the arm lengths and angle limits, then "inverse kinematics" is the search term that you need to get googling.