In rectangle , and . Points and lie on , points and lie on , points and lie on , and points and lie on so that and the convex octagon is equilateral. The length of a side of this octagon can be expressed in the form , where , , and are integers and is not divisible by the square of any prime. What is ?
1
11
23
43
51