Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
Q:1/8=320
M:6/8
K:D
['dAF A>BA', 'dfa afd'  
X:1
L:1/8
Q:1/8=320
M:6/8
K:D
 A/B/4c/4 | d>ed dAF | A>BA ABc | ded dAF | Eee e2 f | ded dAF | A>BA A2 g | fef dBA | Bdd d2 :| 
 A | dfa afd | cde ecA | dfa afd | faa a2 A | dfa afd | cde e2 g | fef dBA | Bdd d2 :|  