Constraint for a value range not inside a value range

In reply to KumarSunilB:
Please provide declarations for all variables involved. Which variables are random and which are non-random? Can you provide examples of the results you are expecting?