Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:4/4
K:G
['G3 D E2 DB, G,A,B,D EGDB, G,A,B,D']  
X:1
L:1/8
M:4/4
K:G
|: G3 D E2 DB, | G,A,B,D EGDB, | G,A,B,D GABd | gabg eaaf |1 gbag efge | dged B^cde | g2 fa gedB | 
 AcBA GEED :|2 g3 a b/a/g a/g/f | gfed eage | dged BedB | AGBA GEED ||  