Mass density(mass per unit volume) of a sphere is varying as ρ = (1 + 2r) kg/m^3 where r is the distance of the position of the point from the centre of sphere(in metre). Calculate mass of the sphere if R is the radius of the sphere?

Ans: 4π[(R^3/3) + (R^4/2)]

How do we find the answer?