You need to integrate as the capacitance is varying with x .
Secondly, as you progress through the small dx elements of the dielectric you observe that they are connected in series ,
hence ,(important note i have used k instead of lambda.
integral( 1/dC) = Integral [( ko + kx)eoA] / dx
integrate the above expression , find constant of integration which is -ln[ko]/keo