Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:2/2
K:D
['d2 fd ABAF', 'adfd fadf'  
X:1
L:1/8
M:2/2
K:D
 A | d2 fd ABAF | Gegf edef | d2 fd ABAF | GEAF D/D/D D :| f/g/ | adfd fadf | gfed cdeg | 
 adfd fadf | geaf d/d/d df/g/ | adfd fadf | gfed cdeg | fdAd FdAF | Egfe d/d/d d ||  