Construct a musical composition following the given alphabetical structure and incorporating the specified motif.
X:1
L:1/8
M:4/4
K:D
['d2 ddAd dA BdeA d2 BA', 'a3 f']  
X:1
L:1/8
M:4/4
K:D
|: d2 ddAd dA | BdeA d2 BA | Beee eedB | Beef afef | d2 ddAd dA | BdeA d2 BA | Beef a3 f | 
 afef d4 :: fa a/a/a faef | fffa efff | a3 f a3 f | afed B2 dB | A3 B d3 A | efaf fedA | 
 Beef a3 f | afef d4 :|  