Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/4
M:2/2
K:D
['B B']  
X:1
L:1/4
M:2/2
K:D
 A | D D D F | E E/E/ E z | D/ D3/2 D F | E3 A | B B B G | A A A3/2 D/ | E3/2 E/ E F | E3 A | 
 D D D F | E E E3/2 E/ | D/ D3/2 F A | G3 G/G/ | B B d B | A A F D/D/ | E E F D | E2 A A | 
 D D/D/ D F | E E/E/ E3/2 F/ | D3/2 D/ F A | G3 B | B B d B | A A F D/D/ | E G F C | D3 |]  