A sum of money amounts to $₹6,690$ after $3$ years and to $₹10,035$ after $6$ years on compound interest. The sum is: