Compose music by following the designated structure and integrating the suggested musical idea.
X:1
L:1/8
Q:1/2=90
M:2/2
K:D
['c BGAG FGAc BGAF BEEc BGAG FGAg', 'f>gaf g>abg', 'fcA AcA', 'c2 g gea gec'  
X:1
L:1/8
Q:1/2=90
M:2/2
K:D
 c | BGAG FGAc | BGAF BEEc | BGAG FGAg | fdec dD D :: g | f>gaf g>abg | fgaf beeg | f>gaf g>abg | 
 fdec dD D ::[M:6/8][K:C][Q:3/8=110] e | fcA AcA | fcA Aag | fcA AcA | B2 G (B/c/d) :| e | 
 c2 g gea | gec (e/f/g)e | c2 g- gfe | dBG (B/c/d)B | c2 g gea | gec efg | afd gec | dBG B/c/d |]  