A small square is constructed inside a square of area $1$ by dividing each side of the unit square into $n$ equal parts, and then connecting the vertices to the division points closest to the opposite vertices, as shown in the figure. Find the value of $n$ if the the area of the small square is exactly $\dfrac{1}{1985}$.
