Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
M:4/4
K:D
['Ad (3ddd d2', 'afef e2 fg aA (3AAA afef edef']  
X:1
L:1/8
M:4/4
K:D
 dB |"D" Ad (3ddd d2 df |"A7" edef ed B2 |"D" Ad (3ddd d2 ef | afdf"A7" e2 dB || 
"D" Ad (3ddd d2 df |"A7" edef ed B2 |"D" abaf"Em" edef |"D" defd"A7" e2 :: ef |"D" aA (3AAA afef | 
 abaf"A7" edef |"D" aA (3AAA afef | defd"A7" e2 fg ||"D" aA (3AAA afef | abaf"A7" edef | 
"Em" gef[bd] edBe |"D" defd"A7" e2 :|  