Compose music that adheres to the given form and integrates the specified musical motif.
X:1
L:1/8
M:6/8
K:D
['BAF AFE', 'EFA def a3 baf afd e2 A'  
X:1
L:1/8
M:6/8
K:D
 d3 dfe | dfe dBA | B3 BAF | B2 d BAF | AFE DFA | BGd BAF | AFE EFE | AFE EFA :| def a3 | baf afd | 
 e2 A G3 | fed bab | d2 f ede | fdB BAF | AFE EFE | AFE EFA :|  