Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:D
['D3 B ADFA', 'B2 dB BAFA'  
X:1
L:1/8
M:4/4
K:D
|: D3 B ADFA | B2 dB BAFE | D3 B ADFA | dBAF EGFE | D3 B ADFA | B2 dB BAFA | B2 dB BAFA |1 
 dBAF EGFE :: d3 f edfd | B2 dB BAFA | d2 fd efge | affa fgfe | dAdf edfd | B2 dB BAFA | 
 B2 dB BAFA |1 dBAF EFGA :|  