Suppose two adjacent endpoint of a rotated square are located at (-4, -6) and (5, -1) on the coordinates axes. What is the length of the side of the square?