Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:3/4
K:G
['d2 d2', 'A2 B2 c2 GBdf g2'  
X:1
L:1/8
M:3/4
K:G
 g4 (G/A/B/c/) | d2 d2 d2 | e2 efgf | e4 d2 | B2 cdec | B2 cdec | e2 (ed)(dc) | B4 A2 :: A2 B2 c2 | 
 GBdf g2 | A2 B2 c2 | GBdf g2 | e2 cege | d2 Bdgd | (3edc B2 A2 | A4 G2 :|  