Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:6/8
K:G
['B2 B BAB c3 B3', 'D2 d dcB D2 c cBA'  
X:1
L:1/8
M:6/8
K:G
|: B2 B BAB | c3 B3 | g2 d dcB | A3 D3 | B2 B BAB | c3 B3 | AcB AGF | G3 G,3 :: D2 d dcB | 
 D2 c cBA | gfe dcB | ABG FED | D2 d dcB | D2 c cBA | EcA FEF | G3 G,3 :|  