How to calculating Spearman's correlation

To calculate a Spearman rank-order correlation on data without any ties we will use the following data:
We then complete the following table:
Where d = difference between ranks and d2 = difference squared.
We then calculate the following:
We then substitute this into the main equation with the other information as follows:
As n = 10. Hence, we have a (p) of 0.67. This indicates a strong positive relationship between the ranks individuals obtained in the math and English exam. That is, the higher you ranked in math, the higher you ranked in English also, and vice versa.