find area with the given length