Determine what is length and what is width of a rectangle

303 Views Asked by At

I have an algorithm to write for an app. So I am given a reference rectangle with known width and length and I have bigger rectangle which sides I have to determine, where one side is known. I realize I could use ratios, but the problem is that I don't know if a known side of a bigger rectangle is width or length. How do I determine this?