The points N, O, P and Q all lie on the same line segment, in that order, such
that the ratio of NO: OP: PQ is equal to 5: 2 : 1. If NQ = 24, find NO.