Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:2/4
K:G
['b>a gB dc c/B/c a>g fd', 'a2 d2 ae da b2 d2 g2'  
X:1
L:1/8
M:2/4
K:G
 b>a gB | dc c/B/c | a>g fd | e/d/^c/d/ e/d/c/d/ | b>a gB | dc c/B/c | a>g fd |1 ef ga :|2 ef g2 || 
 d2 g2 | e2 a2 | d2 ae | da b2 | d2 g2 | eg a>g | fd ef | gb g2 ||  