well amin 9 has the notes
root A, minor third C, fith E, flat seven G, and 9th B.
it is possible to build several scales from these notes, but they must contain the above.
yopu could be in A dorian, notes A, B, C, D, E, Gb, G.
or could be A Aolian, A, B, C, D, E, F, G
or some more exotic scales.
from theses scales you can build a multitude or different chords.
if you want the nith chord, start on any note (other than A cos u already know that). and find the first note third note, fith note seventh note. then go back and get the second note, but make sure it is higher than the seventh.
eg in a aolian, take second note b. sp we have a chord of b d f a c/ which is b half diminished 9th (i think).
or in a dorian take second note b, we have b d gb a c. which is b minor 9 flat 2.
note the fith note is not that important in the chord and is often omitted.
hope this helps