There is a spring, pull it with 5N force, the total length is 12cm; if pull it with 10N force, the total length is 14N, find the original length of the spring

There is a spring, pull it with 5N force, the total length is 12cm; if pull it with 10N force, the total length is 14N, find the original length of the spring

5=k(12-x)
10=k(14-x)
The solution is: x = 10