adjacent sides of a rectangle - Search