Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
M:2/2
K:G
['d2 e2 dB'  
X:1
L:1/8
M:2/2
K:G
 d2 |"G" e2 dB GBdg |"C" f2 ed e2 ag |"D7" fgab c'afa |1,3 agfe dcBd :|2,4 a2 gf"G" g2 :: d2 | 
"G" e2 dB GB d2 | d2 cB"C" c2 AB |"D7" cBAG FGAB |1,3 c2 BA"G" B2 :|2,4 A2 GF"G" G2 :|  