Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
['D2 FD ADFD Adde fded cAAB c2', 'd2 fd adfd'  
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
"^D modal" D2 FD ADFD | Adde fded | cAAB c2 cd | eaag edcd | D2 FA defd | cAAB cdeg | fdec d2 cA | 
 BdAF EDFA || d2 fd adfd | ecAB cdec | d2 fd adfd | cdeg fd d2 | d2 fd adfd | cdef g2 fg | 
 (3agf ge fdec | dBAG FD D2 |]  