Craft musical compositions adhering to the prescribed form and the provided musical idea.
X:1
L:1/8
M:6/8
K:D
['F2 (D D)FG AFD', 'd2 f'  
X:1
L:1/8
M:6/8
K:D
 A/G/ | F2 (D D)FG | AFD DFD | E2 A, A,2 B, | =C2 D E2 G | F2 (D D)FG | AFD AFD | E2 e gec | 
 d3 d2 :| g | f2 d d2 f | d2 f agf | e2 =c c2 e | =c2 e gfe | f2 d d2 f | d2 f agf | B2 e gec | 
 d3 d2 g | f2 d d2 f | d2 f agf | e2 =c c2 e | =c2 e gfe | f2 d g2 e | a2 f b2 g | fed edc | 
 d3 D2 |]  