In this method, sum total length of center lines of walls, long and short has to be found out. Find the total length of center lines of walls of the same type.