Compose music that adheres to the given form and integrates the specified musical motif.
X:1
L:1/8
M:4/4
K:D
['A2 ed cdec', 'ea{b}ag eA (3.B.c.d efge d3'  
X:1
L:1/8
M:4/4
K:D
 A3 A cdeA | AceA dBGA | A2 ed cdec | AE E2 GEDG | A2 ed cdec | (3.A.B.Aec dBGB | A2 ed cdec | 
 AE E2 GEDG |: ea{b}ag eA (3.B.c.d | efge d3 f | ea{b}ag edcd | AE E2 GE D2 | ea{b}ag eA (3.B.c.d | 
 efge d3 c |1 A3 B d | (3.e.f.gfa gedB :|2 AEAc{d} cBcd | (3.e.f.gfa gedB ||  