Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/16
Q:1/8=180
M:2/4
K:G
['dg2a gedB AGAB d2e2', 'gfga ea2b a2ba gfga'  
X:1
L:1/16
Q:1/8=180
M:2/4
K:G
|: Bc | dg2a gedB | AGAB d2e2 | d2>e2 dBAG | A6 dd | dg2a gedB | AGAB d2e2 | d2B2 AGAB | G6 :: Bc | 
 dg2a gfga | ea2b a2ba | gfga gafa | gafg efde | Bdga gfga | ea2b a2ba | gfga gedB | A2A2G2 :|  