Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:4/4
K:G
['DG G2', 'dG G2', 'BG (3Bcd BG'  
X:1
L:1/8
M:4/4
K:G
 DG G2 D=FGA | DG G2 dBcA | DG G2 D=FGA | cA=FA c2 BA :| Bc | dG G2 dGBc | dg g2 fdcA | 
 dG G2 defd | cAFA c2 Bc | dG G2 dGBc | dg g2 fgaf | g2 de fgaf | gbag fdcA || d2 BG (3Bcd BG | 
 (3Bcd BG c2 Bc | d2 BG(3Bcd e=f | cAFA c2 Bc | d2 BG (3Bcd BG | (3Bcd BG c2 Bc | d^cde fafd | 
 cAFA G2 ||  