Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:4/4
K:G
['d2 dd B2 B2 G2 E4 BAGB']  
X:1
L:1/8
M:4/4
K:G
|:"G" d2 dd B2 B2 | G2 G2"C" E4 | cBAc"G" BAGB |"D" AGFG A4 |"G" d2 dd B2 B2 | G2 G2"C" E4 | 
 cBAc"G" BAGB |"D" A2 F2"G" G4 ::"G" DGBG"D" DFAF |"G" DGBG"D" DFAF |"G" DGBd"C" cBAG | 
"D" FGAB A4 |"G" DGBG"D" DFAF |"G" DGBG"D" DFAF |"G" DGBd"C" cBAG |"D" FGAF"G" G4 :|  