The assignment is to write a function called `calculate_ngram_frequencies` that takes a string of text and an integer n as input. The function should register all sequences of words of length n in the text and return a dictionary where the keys are the n-grams and the values are the number of occurrences. The function will also call another function to split the text into sentences. Then, it will iterate over these fragments and detect n-grams within each of them. Next, the assignment asks to use this function with n=6 on two files (`clinton_speeches_all` and `trump_speeches_all`) and save the results in two variables called `clinton_6gram_dict` and `trump_6gram_dict`, respectively. Finally, it will sort these dictionaries by frequency and print out the 10 most frequent 6-grams for both Clinton and Trump.