Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:6/8
K:G
['D2 E G2 A', 'ded dBG'  
X:1
L:1/8
M:6/8
K:G
 D2 E G2 A | B2 B BAG | B2 B BAG | A2 A AGE | D2 E G2 A | c2 B c2 e | dBd A2 G | E3 G3 || ded dBG | 
 ABd e3 | ded dBG | DE=F E2 D | ded dBG | ABd efg | dBd A2 G | E3 G3 |]  