ok consider a rectangle with two sets of equal sides
call one side of a set x
and one side of the other set y
we know she has 140 meters of rope so perimeter of the rectangle = 140
so 2x + 2y= 140
hence X = (140- 2y)/2
the dimensions have to satisfy the above equation