Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/16
M:2/4
K:D
['(3(ABc) d2cd BdAF DFAd f2ed cdef gece', 'cd efed c2A2 AEAc e2dc B=GBd =gfed'  
X:1
L:1/16
M:2/4
K:D
 (3(ABc) | d2cd BdAF | DFAd f2ed | cdef gece | defd A2 (3(ABc) | d2cd BdAF | DFAd f2ed | 
 cdef gece | d2f2 d2 ::[K:A] cd | efed c2A2 | AEAc e2dc | B=GBd =gfed |1 cAce a2cd :|2 Tc2A2 A2 |]  