find field due to the left rod at a distance r from its centre...
so E = ∫kλdx2a(r-x)2, where λ = Q/2a
integrating from -a to +a,
E = kQr2 - a2
So now coming to question the force on the right rod due to first,
F = ∫(kQr2 - a2) λdr
now integrating (with r as variable) from b-a to b+a,
F = kQ24a ( log bb+2a - log b - 2ab )
which gives, F = kQ24a logb2b2 - 4a2