Construct a musical composition following the given alphabetical structure and incorporating the specified motif.
X:1
L:1/8
M:4/4
K:G
['dg g2 bg g2 dgfg egdg']  
X:1
L:1/8
M:4/4
K:G
 dB |"G" GBdg"C" egdB |"G" GBdg"C" eg"Em"dg |"Am" eAcA eAcA |"C" cdef"D" gedB |"G" GBdg"C" egdB | 
"G" GBdg"C" eg"G7"dB |"C" cdef gedc |"G" BG"D"AF"G" G2 :: Bc |"G" dg g2 bg g2 | dgfg egdg | 
"Am" eAcA eAcA |"C" cdef"D" gedB |"G" dg g2 bg g2 | dgfg egdg |"C" cdef gedc |"G" BG"D"AF"G" G2 :|  