Pressure exerted by each mass on the surface is given by

here F = force due to weight of object
A = area of the base
now for object 1 we will have


Similarly for object 2


So by the above calculations we can say that pressure at the bottom surface will be same due to both blocks.