Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:2/4
K:G
['d2 BG e2 d2 e/f/ g2 f', 'D2 d2 D=F ED E2 e2 EG'  
X:1
L:1/8
M:2/4
K:G
 d2 BG | e2 d2 | e/f/ g2 f | g2 G2 | b2 ge | a2 fd | e/f/g fe | d2 D2 :: d2 D=F | ED E2 | e2 EG | 
 FE D2 | E/F/G F/G/A | G/A/B A/B/c | G/A/B DF | G2 G,2 :|  