Square $PQRS$ is tilted $90$ degrees anticlockwise around the point $P$, so that points $Q$, $R$ and $S$ reach to the points $Q'$, $R'$ and $S'$, respectively. What is the distance covered by the point $R$ if the length of $PQ$ is $2$?
Answer is: $\pi\sqrt2$
Cannot seem to visualize his properly.
I have visualized this:

Is this right? I understand it would be a curved path, but have no clue how to approach calculating it.
The distance which the point $R$ covers is equal to a quarter of a circle.