When calculating the indirect effect of X on Y in serial mediation, you should calculate the indirect effect through M1, M2, and both M1 and M2. Then, their cumulative effects should be combined. Once again, to do this, Hayes's PROCESS macro in SPSS can be used