Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:4/4
K:G
['defd gefd eA A/A/A', 'df eA A/A/A'  
X:1
L:1/8
M:4/4
K:G
 e | defd gefd | eA A/A/A c2 ce | defd gefd | eA A/A/A d2 d :| f | 
 afdf a/g/f/e/ df eA A/A/A c2 cf | afdf a/g/f/e/ df | eA A/A/A d2 df | a/g/f/e/ df a/g/f/e df | 
 eA A/A/A c2 cf | afge fdec | dgfe d2 d |]  