Charge is distributed uniformly throughout the volume of an infinitely long solid cylinder of radius R

Charge is distributed uniformly throughout the volume of an infinitely long solid cylinder of radius R.

(a) Show that, at a distance r < R from the cylinder axis, E=ρr/2ε0, where r is the volume charge density.
(b) Write an expression for E when r > R.