Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:3/4
K:G
['D2 (3DDD', 'G>A B2 B>d c>B c2 (3ccc D>F'  
X:1
L:1/8
M:3/4
K:G
|: G>A B2 B>A | B>E D2 (3DDD | B,>D E2 (3EEE | C>E D2 (3DDD | G>A B2 B>A | G>E D2 (3DDD | 
 B,>D E2 A2 | F2 G4 :: G>A B2 B>d | c>B c2 (3ccc | D>F A2 A>c | B>A B2 (3BBB | G>A B2 B>d | 
 c>B c2 (3ccc | D>F A2 A>c | B>A G4 :|  