How to isolate a variable within multiple ceiling and floor functions?

Blue's comment in the original post had the answer. My simple formula given at the bottom was just a different way of writing my more complex formula. Once Blue pointed that out, I was able to make the necessary substitutions to find what I was looking for.