Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:G
['DBBA B3 A GB B2', 'f3 d'  
X:1
L:1/8
M:4/4
K:G
 DBBA B3 A | GB B2 eBdB | (3ABA GB A2 (3Bcd | eB B2 eBdB | DBBA B3 A | GB B2 (3efe dB | 
 GABG (3ABA GA | (3BAG AG EG G2 :| f3 d eB B2 | eBgB eB B2 | f3 d ed (3Bcd | eaag a3 g | 
 f3 d eB B2 | eBgB eBBA | GABG (3ABA GA | (3BAG AG EG G2 :|  