Find the z value of floor above

Pretty sure it is possible.

What have you tried so far?