When a circle (or a cylinder) is rolled, it completes one full cycle when point $A$ gets back to its original position relative to the center of the circle, That means it has rotated $2\pi$ radians from its original position relative to the center of the circle. When this one cycle is completed circle travels a distance that is equal to its circumference. Formula of the circumference of the circle is defined as following:
$$C = 2\pi r$$
Now to calculate the distance the circle has traveled $(D)$ we have to multiply the number of cycles $(n)$ the circle has completed with the circumference of the circle, Thus we get a following formula:
$$D = Cn \rightarrow D=2n\pi r$$
Now to find out what is the distance from $B\rightarrow A`$: We know that Number of cycles $(n)$ is equal to $2.5$ and radius is equal to $r = 1 $, We plug in this parameters into the formula we derived above:
$$B\rightarrow A` = 2 \pi n =5\pi \approx 15.7 $$
We can derive $d$ from Pythagorean theorem:
$$d=\sqrt{(2r)^2+(B\rightarrow A`)^2} \rightarrow d = \sqrt{250.49} \approx 15.8$$
I do not know why your teacher multiplied the radius with the number of cycles to get the distance the circle traveled, Maybe your teacher was trying to calculate something else.
When this circle is rolled point A's trajectory looks like the following image which is called cycloid:
If you are interested, I suggest you watch this video about Brachistochrone Problem