Imagine that you measure the extension of both springs applying the same force to each. You get ΔL1 with the first spring and ΔL2 with the other spring. If you connect the springs, the same force acts on each - you pull the second one with F, it stretches by ΔL2, the second spring pulls the first one with the same force, it extends by ΔL1, so the connected springs stretch by the sum ΔL1+ΔL2.
You put the connected springs in a black box to hide the point where they are connected. You say it is a spring inside and ask somebody to measure the spring constant, applying force F. The person measures the change of length ΔL, and calculates the spring constant k=F/ΔL. That is the effective spring constant of the device inside the black box.
You know that ΔL=ΔL1+ΔL2, and also that ΔL1=F/k1, ΔL2=F/k2, so you can express the effective spring constant with the individual ones.
ehild