We know that energy equation relating physical quantity should be in dimensional balance.
Hence, dimensions of terms on both sides of given equation must be same.
Given, μ=A+λ2B
where refractive index is a dimensionless quantity,
hence λ2B is also dimensionless ∴ Dimension of B= dimension of λ2 =cm2 = dimensions of area