I assume you're referring to the game with courses and grades.
Since the game basically asks you to order the courses from highest grade to lowest grade, you'll want to set up the courses (e, g, h, i, p, r) in some kind of sequence. However, it's important to note that there are only five possible grades -- so the guy will have to receive the same grade in at least two courses. Also, there's no restriction that each grade will be accounted for. For all we know, John gets all As and Bs.
The first and last rules combine to tell you that geology and physics must get consecutive grades, in that order. Italian and Russian will get consecutive grades, in either order. And economics will get a higher grade than history -- but not necessarily consecutive:
ir or ri
Notice that, other than the first and last rules, there is no way to connect these rules -- they're all independent of one another. So, each pair of courses could get grades of A and B. Or, it could be scattered (e.g., Geo and Phys gets A and B, Ital. and Russ. get D and E, econ. and hist. get A and D).
When questions provide relationships between these pairs, combine them to form deductions.
For example, look at the first question: econ. and Ital get the same grade, and John fails Russian. That means Russian gets E. Since Italian is consecutive with Russian, Italian gets a D. For this question then, so does econ. Since Econ gets a higher grade than history, history gets an E. In summary, John gets a D in Italian and Economy, and an E in Russian and History. Answer (C) matches the deductions. (Note that, because the question said nothing about geology or physics, those two course could have gotten ANY pair of consecutive grades.)