Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
Q:1/8=100
M:4/4
K:Amin
['A>G E2 A>B A3 B c2', 'e2 A>B cde^f g3 a ged>e f2'  
X:1
L:1/8
Q:1/8=100
M:4/4
K:Amin
"^moderate" A>G | E2 A>B A3 B | c2 B>A A2 Bc | d3 e dBA>B | G3 A B2 A>G | E2 A>B A3 B | 
 c2 B>c A2 a>g | e2 dcB c>dBc | A4 e2 || A>B | cde^f g3 a | ged>e f2 dc | B2 g>e dBAB | 
 G3 A B2 AG | c2 B>A A3 E | AB cd c/d/edc | d>e^ga =ged>B | A4 e4 |]  