The diagram shows an octagon consisting of 14 unit squares. The line segment bisects the area of the octagon. Point P is at the bottom-left corner of the octagon. Point Q lies on the vertical segment , where Y is at the rightmost point at height 1 and X is at the rightmost point at height 4. The portion of the octagon below consists of a rectangle of area 1 and a triangle with base 6. What is the ratio ?
2
3