How does the amount of radiation change as you move away from the x-ray source?

How does the amount of radiation change as you move away from the x-ray source?

It is reduced according to the inverse square law:

1/Distance2