Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/4
M:6/4
K:D
['B A2']  
X:1
L:1/4
M:6/4
K:D
 B | A2 B A2 G | (E D) E D2 A | d c B (A c) e | (d c) B A2 D | D D D (d c) d | B ^A B F2 E | 
 D2 B B A A | (A E) F D2 |]  