Answer: 6
===========================================================
Step-by-step explanation:
Think of a table that has 2 rows and 3 columns.
Each row represents a different math class (either Algebra or Geometry).
Each column represents a different foreign language class (French, Spanish or Latin).
This table has 2*3 = 6 cells inside. Each cell represents a different combination of classes possible.
In short, all we have to do is multiply the number of classes for each subject.