then the max is 6? But the answer 36 somehowThey are only 4 units long.
The 5You are interpreting the question incorrectly.
You can have 6 horizontal lines. Rub out the red lines - once you've used a point doesn't mean you can't use it again.
How many vertical lines?