Suppose block is displaced to the left through a small distance x. Thus left spring shall get compressed and the right spring shall elongate. Let F1 and F2 be the restoring force in the springs of force constant k1 and k2,
Then, F1 = -kx
and F2 = -kx