Construct a musical composition following the given alphabetical structure and incorporating the specified motif.
X:1
L:1/8
M:3/4
K:D
['f2 e2', 'A2 d2 gfbg |{a} g4 f2 b4']  
X:1
L:1/8
M:3/4
K:D
 d4 eg |{g} f4{ef} e2 | fd a2 g2 | f2 e2 d2 | a4 b2 |{a} g4 f2 | efcdgf | f2 e2 z2 :: e4 f>d | 
 c2 B2 A2 | d2 gfbg |{a} g4 f2 | b4 gb | a2 dfeg | fa B2 c2{AB} | d6 :|  