Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
Q:1/8=150
M:2/2
K:G
['BGAF GEDC B,DEF GBdB', 'GFGB dgfg efge'  
X:1
L:1/8
Q:1/8=150
M:2/2
K:G
 dc | BGAF GEDC | B,DEF GBdB | ceAe ceAg | fdef gedc | BGAF GEDC | B,DEF GBdB | ceAg fdec |1 
 B2 GF G2 :|2 B2 GF G2 || Bc | d2 ^ce dBGD | GFGB dgfg | efge dBGB | cABG ADFA | GFGE DGBA | 
 GFGB dgfg | efge dBcA |1 B2 GF G2 :|2 B2 GF G4 |]  