Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:2/4
K:G
['dB AG B2 DB', 'd>c Bd ef g2'  
X:1
L:1/8
M:2/4
K:G
 g>e | dB AG | B2 DB | cd/c/ Bc | A3 g/e/ | dB AG | B2 DB | c2 BA |1 G2 :|2 G2 G>A || Bd de | 
 d2 d>c | Bd ef | g2 g>d | Bd de | d2 g>a | ba ag | a2 a2 | Bd de | d2 d>c | Bd ef | g2 f>e | 
 dB AG | B2 DB | c2 BA | G2 ||  