Develop a musical composition by incorporating the suggested motif and by following the prescribed format.
X:1
L:1/8
Q:3/8=110
M:6/8
K:D
['A AFA', 'd2 A/G/ (FA).d (dc).B (BA).G (GF)D (F/G/A)G'  
X:1
L:1/8
Q:3/8=110
M:6/8
K:D
 A | AFA d(fa) | (ag)f e2 g | (fe)d (fe)d | (ce)e"^NB" e2 A | AFA dfa | agf efa | (f/g/)ad gec | 
 ddd d2 :: A/G/ | (FA).d (dc).B | (BA).G (GF)D | (F/G/A)G F/G/AD | CEE E2 A/G/ | FAd dcB | 
 BAG F2 D | (F/G/A)D GEC | EDD D2 :|  