Seven persons  -  A, B, C, D, E, F and G sit in a linear row from west to east and face in the north direction. 
Either one or two persons sit to the left of A. 
Either three or four persons sit between A and F, who does not sit second from any end of the row. 

C sits third to the left of D. C and D do not sit at any extreme end. 

B sits second to the right of G. Thus, case 1 is invalid. 
Therefore, the final arrangement is: 

E sits second to the left of A and D sits second to the right of A. 
C sits second to the left of G and B sits second to the right of G.
Similarly, 
A sits second to the left of D and F sits second to the right of D.