# scale and ratio : try to find x,y,width,height [closed]

http://i.stack.imgur.com/LbQSu.png

I have to boxes with same ratio.

How can I find position x,y and width,height in the second box ?

• $x$ and $y$ are positions of what? If this is taking place on the Cartesian plane, where is the origin? – Kevin Long May 7 '18 at 20:12

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\times\frac{100}{50} = 20$.