# How to use SageMath to solve this equation?

I am a beginner of SageMath. I want to solve Z in the following equation using SageMath:

(1 + rho * Z)^beta * (1 + 2 * rho * Z)^(1 - beta) < 2^(3 R / 2),

where rho > 0, Z >= 0, beta is in (0,1), and R > 0. I don't know how to do this in SageMath. Could you please teach me? Thank you very much in advance.