How to measure distances of two walls one behind other.

Do you mean the back wall is hidden by the front wall?