The answer here is that if you have 2 products it doesn't matter what free time trial you have to them because it will be both available when the user upgrades/downgrades.
So to be specific to my question, the user can have 10 days from 1-month product and 30 days from 6 months product, a total of 40 days of free trial.