Capacitance value - AC RC Circuit - Impedance Method
It's a malformed question because with these components, the phase angle of \$V_C\$ must be \$-90^\circ\$.  The only way it could be \$45^\circ\$ would be if there were also an inductance in the circuit.