Create a musical composition using the given motif and adhering to the specified musical form represented by alphabet characters.
X:1
L:1/8
M:6/8
K:D
['A>BA A>BA', 'f>ed f>ed']  
X:1
L:1/8
M:6/8
K:D
 (F/G/) | A>BA A>BA | (d2 A) AFA | A>BA A>BA | (e2 A) AFA | A>BA A>BA | (d2 A) (e2 A) | f>ed A>dc | 
 d2 D D2 || z | f>ed f>ed | e2 A A3 | f>ed f>ed | g2 e e3 | f>ed f>ed | g>fe a2 g | f>ed A>dc | 
 d2 D D2!D.C.! ||  