What fundamental law of physics allowed the calculation of distance once the difference between true brightness (M) and apparent brightness (m) was known?

Answer

The inverse-square law of light.

The calculation of distance relies on comparing the known intrinsic brightness (absolute magnitude) to the observed brightness (apparent magnitude), which is governed by the inverse-square law of light.

What fundamental law of physics allowed the calculation of distance once the difference between true brightness (M) and apparent brightness (m) was known?
measurementHubblegalaxyDistanceCepheid