The diagram below shows a grid of dots (of negligible size) that alternate between black and white. How many ways are there to draw ten line segments between the dots such that
Bonus: Generalize for drawing segments on a grid, where is a positive integer.