Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:4/4
K:D
['B,A,A,B, D2', 'B,A,A,B, D2']  
X:1
L:1/8
M:4/4
K:D
 D2 FD EFGE | FD(3DDD DFED | B,EED EFGA | BFAF Egfe | fddd BAFB | Adcd BAFD | DE(3EEE AFED |1 
 B,A,A,B, D2 (3A,B,C :|2 B,A,A,B, D2 fg || fddd cdBd | Adcd edcd | Bdgd Adfd | Acec Aage | 
 fddd cdBd | Adcd BAFD | DE(3EEE AFED |1 B,A,A,B, D2 fg :|2 B,A,A,B, D2 (3A,B,C ||  