Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:3/4
K:D
['gB Bg gB =c4 ef gf ag'  
X:1
L:1/8
M:3/4
K:D
|:"Em" E3 G FE | B4 Bc |"Bm" dc Be dc | dc BA GF |"Em" E3 G FE | B4 Bc |"Bm" dc BA GA |1 
 B3 G FD :|2 B4 ef |:"Em" gB Bg gB |"C" =c4 ef |"Am" gf ag fe |"B7" ^d3 e f2 |"Em" gB Bg gB | 
"C" =c4 ef |"Am" gf ag fd |1"Em" e3 e ef :|2 e3 G FD ||  