Both sentences are correct. The one you would use depends only on the emphasis. For example, if someone asks you: Whom do you speak French with? or "How do you practice your French?", then answer #2. If someone asks you: "How do you communicate with Tom?", then answer #1. or I communicate with Tom in French, but I communicate with Mary in English. (emphasis on unde