Springs A and B are identical except that A is stiffer than B . . .

Question : Springs A and B are identical except that A is stiffer than B, i.e. force constant KA>KB. In which spring more work is expected if they are streched by the same amount? Explain. [Mothers Global 2024]

Doubt by Raghav
 
Solution : 
KA>KB (Given)
 
We know, 
Potential Energy or Work done in stretching a spring by displacement x is given by ½kx²

W=½kx²

Here both the springs are stretched by equal amount so 
W∝k
∵KA>KB
∴WA>WB

Hence, more work is expected in the case of spring A.