Effect of the transverse magnetic field on spatiotemporal dynamics of quadruple Gaussian laser beam in plasma in weakly relativistic and ponderomotive regime