Answer:
x = 12cm
Step-by-step explanation:
First, with the values given for the force and the displacement, you calculate the spring-constant of the dynamometer by using the following equation (primero, con los valores dados de la fuerza y el desplazamiento, calculas la constante del resorte aplicando la siguiente formula):

F: force (fuerza) = 10N
k: spring constant (constante del resorte)
x: displacement of the spring (desplazamiento del resorte) = 6cm
by using these values you calculate k (usando estos valores calculas k):

With this value you calculate the displacement for a force of 20N (con este valor de k calculas el desplazamiento del resorte para una fuerza de 20N):

hence, the displacement is 12cm