Write capital × time for every partner, equate to the profit ratio, cross-multiply. If one partner's share is a fraction f of the whole, his product = f × (sum of all products).

UnknownWrite it asTypical equation
Joining month xC × (12 − x)C₁ × 12 : C₂(12 − x) = p : q
Capital cc × monthsc × t = fraction × total products
Period TC × T or C × (T − k)C₁T : C₂(T − k) = p : q

Key takeaways: name the unknown, write capital × time for each partner, set the ratio equal to the profit ratio and cross-multiply. Use a fraction of the profit to find the total of all products at once, and substitute back to confirm.