Compose music by following the designated structure and integrating the suggested musical idea.
X:1
L:1/8
Q:1/4=100
M:2/4
K:D
['Adc>d feB>e', 'c cea>b agB>c ddg>f fec>d efd>c cBF>B', 'Bg g2 f2 fcf>e e2 d2'  
X:1
L:1/8
Q:1/4=100
M:2/4
K:D
 A | Adc>d | feB>e | dcB>A | BAF>A | Adc>d | feB>e | dcf>e | ddd ::[K:A] c | cea>b | agB>c | 
 ddg>f | fec>d | efd>c | cBF>B | ABc>B | AAA :|[K:G] z | d2 Bg | g2 f2 | fcf>e | e2 d2 | d2 gf | 
 f2 e2 | e2 ag | gfed | d2 Bg | g2 f2 | fcf>e | e2 d2 | dgc>d | dc e2 | dfb>a | g |]  