Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
Q:1/4=120
M:6/8
K:G
['BGG DGG BGB dcB', 'gdg gdg'  
X:1
L:1/8
Q:1/4=120
M:6/8
K:G
"^Irish Jig." d/c/ | BGG DGG | BGB dcB | cAA EAA | cBc edc | BGG DGG | BGB dcB | cBc Adc | 
 BGG G2 :: ug | gdg gdg | gdg bag | fdf fdf | fdf agf | egg dgg | cgg Bgg | cBc Adc | BGG G2 :|  