Concept: The question tests on the basics of Counting

Solution

This is based on combinations.

Choose 2 math courses out of 8 in 8C2 ways = (8 * 7) / 2 = 28

Choose 2 physics classes out of the 9 physics classes in 9C2 ways = (9 * 8) / 2 = 36

Total number of ways = 28 * 36 = 1008

Option D