the main formula is
% = molar mass of elements / total molecular molar mass) x100
M (Ca(C2H3O2)2) = 2*(12*2 +3*1+16*2) + 40=158
so
%Ca= 40/158x 100=0.25x 100= 25%
%C= 12/158 x 100= 0.07x 100=7%
%H= 1/158x 100=0.006x 100=0.6%
%O=16/158x 100= 0.101x 100= 10.12%