The cylinder with mass
The adhesive is able to balance the weight of the cylinder
It implies that the adhesive has just capacity of holding downwards force per unit area
When the mass if the cylinder is changed to
We see that the mass has increased by
As the holding power of the adhesive does not change, therefore the area of cross section must be increased by the same factor for the new cylinder to stay attached with the ceiling.
Therefore, required area of cross section