Correct option is D

Seven friends, F, G, H, I, O, P and Q, are sitting in a row facing north. Only two people sit between I and G. Only H sits to the right of F. Only one person sits between G and F. O sits at some place to the right of P but at some place to the left of Q. Who sits third from the right end of the line?
Seven friends, K, L, M, N, O, P and S, are sitting in a row facing north. Only two people sit to the left of S. Only three people sit between S and O. K sits second to the right of S. Only two people sit between K and M. L sits at some place to the right of N but at some place to the left of P. How many people sit to the right of L?
Seven friends, A, B, C, D, N, O and P, are sitting in a straight row facing north. No one sits to the right of A. Only three people sit between A and D. Only two people sit between D and B. C sits third to the left of P. N sits to the immediate right of P. How many people sit between O and B?
Seven friends, F, G, H, I, O, P and Q, are sitting in a row facing north. Only two people sit between I and G. Only H sits to the right of F. Only one person sits between G and F. O sits at some place to the right of P but at some place to the left of Q. Who sits third from the right end of the line?
Seven people, I, J, K, L, O, P and Q are sitting in a row, facing north. No one sits to the right of I. Only three people sit between I and J. Only two people sit between J and Q. L sits third to the left of P. K sits to the immediate right of P. How many people sit between O and Q?