Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:2/2
K:D
['(3(fga) ec', 'dfAd fdAd ceAc'  
X:1
L:1/8
M:2/2
K:D
 ug | (3(fga) ec dAAB | dAAF GEEg | (3(fga) ec dAAB | Adeg fd d z | (3(fga) ec d2 (cA) | 
 dAAF GE E z | FAGB AcBd | cdeg fd d z :: dfAd fdAd | ceAc eAce |{a} gfga gbag | fgec d2 (FA) | 
 dfAd fdAd | ceAc e2 (fg) | fedc d2 (cB) | ABde fd d z :|  