Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/4
Q:1/2=100
M:4/4
K:G
['d g']  
X:1
L:1/4
Q:1/2=100
M:4/4
K:G
 B3/2 c/ d g | d c B A | B G B d | A F E D | B3/2 ^c/ d g | f g a b | a f g e | d2 D2 |:  