The correct answer is B. Both are influenced by African rhythms.
Both jazz and rock 'n' roll have roots that can be traced back to African musical traditions. Jazz incorporates African rhythms along with a blend of various other musical styles, while rock 'n' roll was heavily influenced by African-American rhythm and blues.