Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:2/2
K:G
['(3ABc dcdA FDDF GBed cABc dcdA FADF', 'd2 fd'  
X:1
L:1/8
M:2/2
K:G
 (3ABc | dcdA FDDF | GBed cABc | dcdA FADF | GFEF GABc | dcde fdec | dcAB =cAGE | FEDE FGAd | 
 cAGE FD D2 :: c | d2 fd Adfd | Gbed cABc | d2 fd adfd | gfed ceAc | defd gece | dcAB (3=cBA GE | 
 FEDE FGAd | cAGE FD D2 :|  