Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:2/4
K:D
['G>G Bc d>d Bd b>b ge d>d', 'ga b2 b>a ge d2 g/a/g/f/ ge', 'b>b ge d>d'  
X:1
L:1/8
M:2/4
K:D
 G>G Bc | d>d Bd | b>b ge | d>d cB | A2 A>B | c>c BA | G>A Bc | dc BA | G>G Bc | d>d Bd | b>b ge | 
 d>d cB | Aa a>g | fd ef | g>a g>f | gd ga || b2 b>a | ge d2 | g/a/g/f/ ge | dB G/G/A/B/ | c>c ec | 
 B>B dB | A2 d>e | dc BA | G>G Bc | d>d Bd | b>b ge | d>d cB | A2 a>g | fd ef | g2 g>a | g2 BA || 
 G>G B/G/B/c/ | dd/d/ B/B/d | b>b ge | d>d c/c/B/B/ | A2 A>B | cc/c/ B/B/A | G>A B/B/c/c/ | 
 dc B/B/A/A/ | G>A B/G/B/c/ | d>d B/c/d | b>b ge | d>d cB | Aa a>g | fd ef | g>f g>a | gf ga | 
 b2 b>a | ge de/f/ | g/f/g/a/ g/d/e/g/ | e/d/B G/D/B/G/ | c(3c/c/c/ e/c/G/c/ | B(3B/B/B/ dB | 
 A2 d>e | d/d/c BA | G>G Bc | d>d Bd | b>b ge | d>d cB | Aa- a>g | fd ef | g2 g>a | g4 ||  