Very nice to meet you all. I am searching to find the value x for the given image. its a ratio that looks like this:
0: 1 = 350 : Y
but this leads if we solve for Y:
0 * Y = 350 * 1
Y = 350/0
which is undefined.
How can i get the Y value in such a case for this ratio ?
UPDATE: THE 0 in the image represents an offset start. so i am giving an offset from 0 to 1 (or if you like 0% to 100%). the orange numbers is my new offset i have created, it runs from 350 to Y.
UPDATE2:
There is this green box that i can drag up and down... when this green box is collapsed as it is now in the below image near the bottom, the dragOffset is defined as 0. so to be clear, collapsed box has offset of 0 ALWAYS.
as the box gets dragged towards the top, the offset keeps increasing from 0 until finally it hits the top which is a max offset of 1. So to be clear, the dragging offset from collapsed to expanded is numbers between [0,1].
Here is the image so you can see the transition. how the dragOffset is being delivered to me:
I have the ability to make the greenbox 60% of the total height like this:

but when it reaches 60% the system is giving me a value such as 0.6 for the top, But at this point i can consider 60% as the FULL HEIGHT. So the system thinks the full height is 1 but i want the full height to be at 0.6 (or 60%) mark
**so to be clear, i am searching for a way to SCALE the dragOffsets values called Y1,Y2,Y3,Y4,Yz such that dragging from 0 to 0.6 would be the same as dragging from 0 to 1 in the system. Hope it's clear now .



I think you want to map the interval $[0,1]$ to the interval $[350,Y]$.
The scale factor of your mapping is given by $\frac{Y-350}{1-0}=\frac{Y-350}{1}$, but you can't work out $Y$ without some more information about your new interval.