Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:2/4
K:G
['', 'AB/c/ d2 d/c/B/A/ GD GA B2', 'ga bg eg/e/ d2'  
X:1
L:1/8
M:2/4
K:G
 AB/c/ |: d2 d/c/B/A/ | GD GA | B2 Bd | A2 AB/c/ | d2 d/c/B/A/ | GD GA | B2 AB/A/ | G2 G2 :: 
 ga bg | eg/e/ d2 | ga bg | eg/e/ d2 | Bc dg | B/A/B/c/ dg | B2 AB/A/ | G2 G2 :|  