Electric field due to given potentials is
E1=dz−dV=10∣z∣ for ∣z∣≤1m. Here E1 is proportional to z, so charge distribution is continuous for ∣z∣≤1m
E2=−dzdV=10 for ∣z∣≥1m. Here, E2 is constant.
So, using the Poisson’s equation ∇2V=−ϵ0ρ, we get ρ=0.
∴ The source is an infinity large non-conducting thick plate.
Hence, consider a cylindrical Gaussian surface:
Applying Gauss's law for ∣z∣≤1m
E×2A=ϵ0ρ×2z×A
⇒(10z)(2A)=ϵ0ρ(2Az)
⇒ρ0=10ϵ0 for ∣z∣≤1m.