Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['', 'A>F D>GGE F>GAd B>GGG A>BcA d2 c>A', 'd2 g2 g>e f>dde d>efa g2 Bd'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 A>F |: D>GGE F>GAd | B>GGG A>BcA | d2 c>A B>GGA |1 B>dcA GBAF :|2 B>dcA G2 (3Bcd || g2 g>e f>dde | 
 f>age f>d d2 | g2 g>e f>dde | d>efa g2 Bd | g>bag f>ddc | B>GGG A>BcA | d2 c>A B>GGA | B>dcA G2 ||  