Actually you should have
$$e^{-t \Delta_g} \circ e^{-s\Delta_g} f(x) = \int_M p(x,y,t) (e^{-s\Delta_g} f)(y) \,dV(y)$$
$$ = \int_M p(x, y, t)\bigg( \int_M p(y, z, s) f(z) dV(z) \bigg)dV(y)$$
$$ = \int_M \bigg( \int_M p(x, y, t) p(y, z, s)dV(y)\bigg) f(z) dV(z) .$$
From here I think you will know how to proceed.