Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
Q:1/2=75
M:4/4
K:D
['fg afge dfed cdec ABAG FAdf', 'A2 A2'  
X:1
L:1/8
Q:1/2=75
M:4/4
K:D
 fg | afge dfed | cdec ABAG | FAdf gfed | c2 A2 A2 fg | afge dfed | cdec ABAG | FAdf gedc | 
 d2 d2 d2 :: cd | eAAA fAAA | eAfA gAfA | efgf edcB | A2 A2 A2 AG | FA d2 BG e2 | cABc defg | 
 afbg fgec | d2 d2 d2 :|  