Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/4
M:3/4
K:B
['B2 B']  
X:1
L:1/4
M:3/4
K:B
 B | =d c d | B2 B | =d/c/ d c | B2 B | =d c d | B2 B | B2 A | B2 |]  