Construct a musical composition following the given alphabetical structure and incorporating the specified motif.
X:1
L:1/8
Q:1/8=160
M:9/8
K:D
['a2 g fdf', 'f a2 f']  
X:1
L:1/8
Q:1/8=160
M:9/8
K:D
 a2 g fdf fdf | a2 g fdf gfe | a2 g fdf fdf | gfg e2 f gfe :| d2 f a2 f a2 f | d2 f a2 f gfe | 
 d2 f a2 f a2 f | gfg e2 f gfe :|  