Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['dfed B2 AG', 'gedB cBcd eaag'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 B | dfed B2 AG | (3FED AD BDAD | dfed B2 AG | DEGA BGG :| d | gedB cBcd | eaag agef | gedc BcBA | 
 Ggga bggf | gedB cBcd | eaag ageg | gedc BcBA | DEGA BGG |]  