Calculate the extension that would be produced by a 20N force if 15Nextends as a spring by 3cm

AAAaannndd the bot gets it wrong yet again!

since F = kx, that would, of course, be
20/15 * 3cm = 4 cm

The extension produced by a 20N force is 1.5 cm.