I have to boxes with same ratio.
How can I find position x,y and width,height in the second box ?
Multiplying the small x-value (10) with the ratio between the two heights should do the trick. And likewise for everything else. So x in the larger box would be twice 10*100/50 = 20.