Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:Amin
['A>B cd e2 e2 f>e fa e4', 'a2 A>c eg fe (d2 d2) g^f{f}'  
X:1
L:1/8
M:4/4
K:Amin
 A>B cd e2 e2 | f>e fa e4 |1 d>^c dB =c>B cA | B2 e2 e>d cB :|2 d>c BA ^GE cB | A2 A2 A4 :: e | 
 a>^g{g} a2 a2 a2 | A>c eg fe (d2 | d2) g^f{f} g2 g2 | G>B df ed cd |{d} e2 A2 AB cd | 
 e<a a2 ae gf | ed fe dB cB | A2 A2 A3 :|  