Dear Student ,
(i) Consider the case r<a . The Amperian loop is a circle .
for this loop , taking the radius of the circle to be r
so L = 2r
Now the current enclosed Ie is not I , but less than this value .
Since the distribution is uniform ,
the current enclosed is
further you can solve it .
Regards