You can put this solution on YOUR website! given:
a rectangle of perimeter and
lengths of sides in the ratio
=>
=>
=>................eq.1
if the ratio of sides lengths , then
=>
=>................eq.2
from eq.1 and eq.2, we have
.........solve for
now find ................eq.2
draw it: