Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
Q:1/4=104
M:2/4
K:D
['B dBAF']  
X:1
L:1/8
Q:1/4=104
M:2/4
K:D
 B | dBAF | G>GGB | dBAF | E2 z B | dBAF | GGGB | A>GFE | D3 B | dBAF | G>GGB | dBAF | E3 B | 
 dBAF | G>ABd | A>GFE | D2 DE | F2 FD | G>FGE | F2 FD | E2 z A | F>FFD | G>GGB | AGFE | D3 |]  