(a) Let x1 and x2 be the elongations in springs A and B respectively. Total elongation = x1 + x2.
If k is the equivalent spring constant of the combination (a), we have
(b) Let x be the elongation in each spring.
mg = (k1 + k2)x
If k is the equivalent spring constant of the combination (b), we have