Construct a musical composition following the given alphabetical structure and incorporating the specified motif.
X:1
L:1/8
M:6/8
K:G
['ABA ABd', 'G2 (d/4e/4f/) g>ag gdB Aaa a2 g']  
X:1
L:1/8
M:6/8
K:G
 g | BAG GDE | ABA ABd | (e/f/g)G GDE | GAG B2 G | cAc BGB | ABA ABd | (efg/)G/ GDE | G>AG G2 || 
 (d/4e/4f/) | g>ag gdB | Aaa a2 g | def gdB | gaf gdB | cac BgB | aAA ABd | (e/f/g)G GDE | 
 G>AG G2 :|  