A long wire with a uniform charge density λ is bent in two configurations shown in fig. Determine the electric field intensity at point O.