Design musical structures with the specified pattern and offered motif.
X:1
L:1/8
M:4/4
K:G
['D2 EG', 'd G3 EGDc BGBd gdeg ecBc'  
X:1
L:1/8
M:4/4
K:G
|: B | AGEG DG (3Bcd | BAGA BedB | AGED BDAD | B A3 BEED | E2 DE GEDE | D2 EG D2 EG | EDEG DEGA | 
 (3Bcd AB G3 :: B | d G3 EGDc | BGBd gdeg | ecBc (3BAG FA | DFAd fed^c | d G3 EGDc | BGBd gdeg | 
 ecBc efge | dBAB G3 :|  