An infinite plane slab, of thickness 2d, carries a uniform volume charge density ρ

An infinite plane slab, of thickness 2d, carries a uniform volume charge density ρ.
Find the electric field, as a function of y, where y=0 at the center.
Plot E versus y, calling E positive when it points in the +y direction and negative when it points in the -y direction.

image