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:4/4
K:D
['A2 A>c d2 A>F G2 G>F E2', 'D4 [K:Dmix] A>GE>D C2 E<G A>GE>G c2']  
X:1
L:1/8
M:4/4
K:D
 A2 A>c d2 A>F | G2 G>F E2 (3GFG | A2 B>c d>A (3EFG | (3ABA G>E D2 D2- | D4 || 
[K:Dmix] A>GE>D C2 E<G | A>GE>G c2 G2 | A>GE>D C>DE<G | A>Gc>E D2 D2- | D4 ||  