The room and the hallway shown in the floor plan below have different dimension but the same area. Find value of w.