One loaded beam vs 2 stacked beams


Which scenario will have less maximum deflection?

Any details about the boundary conditions between the two 2 stacked beams and the material properties?

wouldn’t the result be the same since it is h/2? if the two beams stacked each have h height then it would be 8 times stiffer than the one beam, I guess?