Develop a piece of music by incorporating the provided motif and following the outlined musical structure represented by alphabet characters.
X:1
L:1/8
M:2/4
K:D
['AB c/B/A', 'AB c/B/A']  
X:1
L:1/8
M:2/4
K:D
|: c/B/ | AB c/B/A | eA cB | AB c/B/A | f2 fe/f/ | AB c/B/A | eA cB | AB ce |1 d2 d :|2 d2 d2 |: 
 fe/f/ ed | fe/f/ ec/B/ | AB c/B/A | g2 g2 | fg/f/ ed | fe/f/ ec/B/ |1 AB c/B/A | d2 d2 :|2 AB ce | 
 d2 d ||  