The pressure at the bottom of the second glass is
Pressure is defined as force acting on unit area.
For the first glass, the difference between the pressure at the top, which is said to be zero, and the pressure on the bottom, which is
At the bottom of the glass, the weight of the water pushing upon the surface area of the glass causes a pressure equal to
You can express the mass of the water by using its density and the volume of the cylinder.
In the case of a cylinder, you have
Therefore, the pressure at the bottom of the first glass can be written as
Now for the second glass. You know that the diameter of the glass doubles, which implies that the radius doubles , and that the height double as well, compared with the first glass.
The pressure at the bottom of the second glass will be