Construct a piece of music by incorporating the given motif and adhering to the determined musical form.
X:1
L:1/8
M:4/4
K:Ddor
['A3 B AGEG AGAB c2 Bc A2', 'd2 cd', 'd2 cd ecgc edcd'  
X:1
L:1/8
M:4/4
K:Ddor
 A3 B AGEG | AGAB c2 Bc | A2 AB AGE(g |{a} g)edB cAdc | A3 B AGEG | AGAB c2 Bc | A2 AB AGEG | 
 gedB c3 d || e3 g edcd | egec d2 cd | e3 g edcd | efge d2 cd | e2 eg edcd | e/f/g ec d2 cd | 
 ea{b}ag eg^fa | gedB c3 d || ecgc edcd | egec d2 cd | ecgc edcd | eage d2 cd | ecgc edcd | 
 egec dBcd | e a3 e/^f/g fa | gedB cAdc ||  