Given the data
X, ...rankXYrankYd=rx-ryd²
44-5400
533-1300
86213200
162116100
Then, using the rank correlation formula
p = 1 — 6•Σd² / n(n²—1)
p = 1 - 6• 0 / 4(4²-1)
p = 1 - 0
p = 1
So, the rank correlation is 1, this means that the two variables being compared are monotonically related, even if their relationship is not linear.