Compose music by following the designated structure and integrating the suggested musical idea.
X:1
L:1/8
M:3/4
K:G
['d2 dddd (.d>.g) d2 z2 c2 cccc', 'd2 z2'  
X:1
L:1/8
M:3/4
K:G
 d2 dddd | (.d>.g) d2 z2 | c2 cccc | (d/c/B/c/) B2 z2 | ^c2 cccc | (.d>.e) f2 z f | g>e d2 ^c2 | 
 d2{A} z2{D} z2 :: f2 ffff | (.g>.d) d2 z2 | c2 cccc | (.B>.c) d2 z2 | (.e>.f) gggg | 
 (.g>.a) b2 z b | c'>a g2 f2 | g2{D} z2{G,} z2 :|  