The key is in D major which means your do will be D (first space under the staff) I will give you the first measure:
Do Do Re Mi
Blues and the type of music was more of an emotional expression and release
Sorry but this is a math question..
Not an arts question.