Area is length times width. The way round, the perimeter, is two lengths and two widths.
If you know the area and one side, divide to find the other side.
If you know the perimeter and one side, take two of that side away and halve the rest.