Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
Q:1/4=100
M:2/2
K:G
['d Bdad BGGB z4 z4 BGdG BGGB', 'bagf gdde'  
X:1
L:1/8
Q:1/4=100
M:2/2
K:G
 d | Bdad BGGB |"^NB1" z4 z4 | BGdG BGGB | AFcF cFFc | BGdG BG G2 | Dgfa"^NB2" g3 || a"^NB3" | 
 bagf gdde |{gf} fec_B AFFA | bagf gd d2 | dgfa g2 ga | bagf gdde | fdc_B AFFA | GcBe cedg | 
 dgfa gfdc :|  