There are 46 ways:
2 segments: 1 way
+--+--+--+--+
| | |
+--+ + + +
| |
+ + + + +
| |
+--+--+--+--+
3 segments: 6 ways
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
| | | | | | | | | | | |
+ + + + + + + + + + + + + + + +--+--+ + +
| | | | | | | | | | |
+ + + + + + + + + + +--+ + + + + + + + +
| | | | | | | | | |
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
+--+--+--+--+ +--+--+--+--+
| | | | | |
+--+ + + + + +--+ + +
| | | | |
+--+ + + + + + + + +
| | | |
+--+--+--+--+ +--+--+--+--+
4 segments: 8 ways
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
| | | | | | | | | | | |
+ + + + + +--+--+--+ + +--+--+--+--+ + +--+--+ +
| | | | | | | | |
+--+--+ + + + + + + + + + + + + + + + + +
| | | | | | | |
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
| | | | | | | | | |
+--+ + + + + + + + + + +--+ + + + +--+ + +
| | | | | | | | | | | | |
+ +--+ + + + +--+ + + + + + + + + +--+ + +
| | | | | | | | | | |
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
5 segments: 13 ways
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
| | | | | | | |
+ +--+ + + +--+ + + + +--+--+ + + +--+--+--+ +
| | | | | | | | | | | | |
+--+ + + + + +--+--+ + + + +--+ + + + + + +
| | | | | | | | | | | |
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
| | | | | | | | |
+--+ + + + +--+--+ + + +--+--+ + + + +--+--+ +
| | | | | | | | | | | |
+ +--+--+--+ + + +--+--+ + +--+ + + + + + + +
| | | | | | | | | |
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
| | | | | | | | | | | |
+--+--+ + + + + + + + + +--+ + + + +--+ + +
| | | | | | | | | | | | |
+--+--+ + + + +--+ + + + +--+ + + + +--+ + +
| | | | | | | | | |
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
+--+--+--+--+
| | |
+ +--+ + +
| | |
+ + +--+ +
| | |
+--+--+--+--+
6 segments: 10 ways
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
| | | | | | | | | | | |
+--+ +--+ + +--+ + + + +--+--+ + + + + +--+ +
| | | | | | | | | | | | | | |
+ +--+ + + + +--+--+ + + + +--+ + +--+--+--+ +
| | | | | | | |
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
| | | | | | | | | | | | |
+ + + + + + + +--+ + + +--+--+ + + +--+--+ +
| | | | | | | | | | | | | | |
+ +--+--+ + + +--+ + + + + +--+ + + +--+--+ +
| | | | | | | | |
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
+--+--+--+--+ +--+--+--+--+
| | | |
+--+ +--+--+ +--+ + +--+
| | | | | | | |
+ +--+ + + + +--+--+ +
| | | |
+--+--+--+--+ +--+--+--+--+
7 segments: 8 ways
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
| | | | | | | | | | | |
+--+ +--+ + + + +--+ + +--+--+--+ + + +--+--+ +
| | | | | | | | | | | | | |
+ +--+--+ + + +--+--+ + +--+--+--+ + +--+--+--+ +
| | | | | | | |
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
| | | | | | | | | |
+ +--+--+ + + +--+ + + + +--+ +--+ + +--+ +--+
| | | | | | | | | | | | | | | | | |
+ +--+--+ + + + +--+ + + + +--+ + +--+ +--+ +
| | | | | | | | | | |
+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+
|