Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
Q:1/2=104
M:4/4
K:D
['D/D/D FD ADFD', 'fdag fddf e=cgf ecce'  
X:1
L:1/8
Q:1/2=104
M:4/4
K:D
 A | D/D/D FD ADFD | E=cGc EccE | D/D/D FD ADFD | BdAd FDD :| g | fdag fddf | e=cgf ecce | 
 fdag fdec | dBAd FDDg | fdag fddf | e=cgf ecce | dfeg fagb | afge fdd |]  