Answer:
The gravitational force between the masses is

Step-by-step explanation:
For 2 masses 'm' and 'M' separated by a distance 'd' the gravitational force between them is given by Newton as

where
'G' is universal gravitational constant whose value is

Applying the values in the above relation we get

Weight of 8 kg mass =

Weight of 12 kg mass =

thus we see that gravitational force between the masses is completely negligible as compared to the weight of the masses.