For the given arrangement, a fixed finite line charge is kept in front of a block at equilibrium having −10 nC charge on it. Block and finite line charge are along same line. If in equilibrium, extension of spring is 10 cm then spring constant (K) is