EDIT:
Your textbook is a bit confusing, do they want the magnetic field at distances of 5, 10 and 15 mm from the axis of the wire, or from its outer surface, or inner surface?
If they mean from the axis, then the answer is 0 across the board, see the reasoning below.
Two assumptions are necessary to solve this problem, the first is that of symmetry, which is pretty straightforward, and the other is that the current density in the wire is uniform.
Use Ampere's Law and the uniformity of how the current is spread out across the cross section of the wire to find the magnetic field there.
The radial distance you see in your equation refers to a circle arranged around the axis of the cylinder, not the distance from the surface of the pipe.
Ampere's Law:
\oint \vec B \cdot \vec d\ell = \mu_0 I_{penetrating}
What Ampere's Law means is that the closed line integral of the B field around any path, is proportional to the current that penetrates through any surface attached to that path.
For instance, for a single straight wire, we can assume radial symmetry. Taking our closed path as a circle around the axis of the wire, we can take B to be a constant, and always in the direction of the path, so the closed path integral is just the value of B times the length of the path, the circumference of the circle.
\oint \vec B \cdot d\ell = B\cdot2\pi r
Taking the simplest surface attached to this loop, we see that our wire penetrates it. So the current, I, in the wire penetrates the surface.
Therefore B\cdot 2\pi r = \mu_0 I
B=\frac{\mu_0 I}{2\pi} \frac{1}{r}
Now apply Ampere's Law and see what current penetrates through a surface attached to a loop through the volume of the pipe!