Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
['BGG DGG', 'd gdB BAG'  
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
 d/c/ | BGG DGG | BAB G2 c | BGG DGG | ABG F2 c | BGG DGG | BAB G2 c | BdB cAG | FDD D2 :| d | 
 gdB BAG | GBB B2 d | gdB BAG | FAA A2 d | gdB BAG | GBG c2 A | BdB cAG |1 FDD D2 :|2 FDD FED | 
 G6 |]  