P and Q enter into a partnership with capital in the ratio of 3 ∶ 7. After 7 months, P withdraws his capital, the shares in profit are in the ratio of 1 ∶ 4. Find the time for which Q used the capital for business.
1
12 months
2
10 months
3
16 months
4
18 months