Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:4/4
K:G
['dBGF EccB AGFG', "c' a3 ea^ca"  
X:1
L:1/8
M:4/4
K:G
 dc | BABd cBcA | d2 (3gfe dBGF | EccB AGFG | (3ABA (3GFE DG,B,D | BABd cBcA | (3d^cd(3gfe dBGF | 
 EccB AGFG |1 ADFA G2 :|2 ADFA G2 ga |: b g3 dgBg | b g3 dgBg | c' a3 ea^ca | c' a3 ea^ca | 
 b g3 dgBg | b g3 dgBg |1 (3aba (3gc'g (3fgf (3efe | (3ded^cd Bdga :|2 (3aba fa gfed | ^cdef g2 ||  