how to find breadth of rectangle - Search