How do you say

How long would you like to learn Chinese?

..in Chinese?

请问你想要学习多久的中文?

qǐng wèn nǐ xiǎng yào xué xí duō jiǔ de zhōng wén ?

How do you say "He plans to buy a car in three months." in Chinese?