Generate music by following the outlined musical form presented using letters and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:D
['fB B2 fgfe dB B2 GBdB', 'fBdB GBdB caec']  
X:1
L:1/8
M:4/4
K:D
 fB B2 fgfe | dB B2 GBdB | cAAd AAeA | Afed ecAe | fB B2 fgfe | dB B2 GBdB | cAdA eAce | 
 afec Bcde :: fBdB GBdB | caec dB B2 | fBdB GBdB | caec Bcde | fd d2 fgfe | dB B2 GBdB | 
 cAdA eAce | afec Bcde :|  