A sum of money amounts to rs.6690 after 3 years and to rs.10,035 after 6 years on compound interest. Find the sum.

A. 3467

B. 4560

C. 4460

D. 7890

Please do not use chat terms. Example: avoid using "grt" instead of "great".