Theoretical explanation of superconductivity in C6Ca