Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:9/8
K:G
['D GAG Gge dBG ABA ABd e2', 'E2 d gdg gag fed edB gab']  
X:1
L:1/8
M:9/8
K:G
 D | GAG Gge dBG | ABA ABd e2 g | GAG gfe dBG | ABc BAG E2 :: d | gdg gag fed | edB gab a2 b | 
 gab abg fed | efg dBG A2 :|  