Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:2/4
K:G
['B B e2 E D B,2 A2']  
X:1
L:1/8
M:2/4
K:G
 B B e2 | E D B,2 | A2 B d | B4 | B B e2 | E D B,2 | A2 B/ d/ G | E4 |]  