Compose music by following the designated structure and integrating the suggested musical idea.
X:1
L:1/8
M:2/2
K:D
['D2 (3(FED)', 'f>d (3(.d.d.d)'  
X:1
L:1/8
M:2/2
K:D
 D2 (3(FED) AD (3(FED) | ABcd edcA | D2 (3(FED) A2 d2 | cAGF FDCE | D2 (3(FED) AD (3(FED) | 
 ABcd edcA | D2 (3(FED) A2 d2 | cAGE (MED) D2 !fermata!x || f>d (3(.d.d.d) fddf | 
 e>c (3(.c.c.c) efge | f>d (3(.d.d.d) fged | cAGE (MED) D2 | fede fedf | edcd efge | afge f2 ed | 
 cAGE EDCE!D.C.! ||  