Let be the force exerted by the spring with Hooke's constant and be the force exerted by the spring with Hooke's constant . At , you know . At , you know , so . For , when , and when , , so

Then, when , so . Then the forces are equal when

just as expected.