Since the block is motionless, we know that our forces will cancel out:
Fnet=0
There are three forces in play: one from each spring, as well as the force of gravity. If we assume that forces pointing up are positive, we can write:
Plugging in expressions for each spring force, we get:
Rearring for the displacement of the top spring, we get: