Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
M:3/4
K:G
['edBDGB edBDGB', 'bafAdf bafAdf ageAce', 'z2 D3 DFA'  
X:1
L:1/8
M:3/4
K:G
 DGB | edBDGB | edBDGB | dcADFA | cBGDGB | edBDGB | edBDGB | dcADFA | G3 :: Adf | bafAdf | bafAdf | 
 ageAce | gfdAdf | bafAdf | bafAdf | ageAce |"^D.C." d3 :| G3 DGB | dc A2 z2 | D3 DFA | cB G2 z2 | 
 D3 DFA | dcAdcA | dcAdcA | G3 z2 |]  