The question is not quite internally consistent.
The table is 400mm radius, and the feet are apparently on a 292mm radius pitch circle (since they are 108mm in from the edge). By simple trig, the fulcrum line is therefore 292cos(60) from the circle centre, which is 146 from the centre, which is 254mm from the edge (the question states this is 240mm).
However:
If the legs and top are substantially rigid (ie, small deflections - they aren't bending so much that their shape in plan changes) the mass of tabletop acts at the centre, so the moment of mass of the top is 40kg x 146mm = 5840 kgmm about the fulcrum line.
So that much moment will balance the table (put it on the point of toppling over the fulcrum). So the mass we can put there is 5840/254 = 22.99kg.
If 90mm from the edge, feet pitch circle is now 310mm radius, teh fulcrum is 155mm from the centre and 245mm from the edge, so we can carry 40x155/245 = 25.31kg, ie 2.32kg more.
That was the easy way, and is already advanced in one answer (Knigge46's), but you can do the stabilising moment calc the hard way if you like:
Consider an arbitrary strip of tabletop, parallel to the fulcrum line, width delta-x. By pythagoras the length of this strip is 2(r^2-x^2)^.5 where r is tabletop radius and x is perpendicular distance from the strip to the centre.
Let f be the offset between table centre and fulcrum line. Let d be the areal density of the top. Thus the moment of this strip about the fulcrum line is d . 2(r^2-x^2)^.5 . (x-f) delta-x, which you can summate across the full table top, or change from a summation to an integration simply by changing the delta-x to a dx.
If you do that integration for x from -r to r, you get -5.840kgm, or 5840 kgmm, the same answer as treating the table top as a point mass at the centre
If you want to do the stabilising and destabilising contributions from the top you can do that by integrating over different ranges:
stabilising, (-r <= x < f) gives -6.986kgm
destabilising (beyond the fulcrum) (f < x <= r) gives 1.146kgm
So net effect of the top is stabilising by (-6.986 + 1.146 ) = -5.840kgm, again.