let
x---------> the intensity i of light from a light bulb
y-------->Â the distance d from the light bulb
we know that
x*y²=k
step 1
find the constant of variation kÂ
for x=90 w/m²  and y=5 m
k=90*5²------> k=2250
step 2
for x=40 w/m²
x*y²=k--------> y²=k/x--------> y²=2250/40----> y²=56.25
y=7.5 m
the answer is
 7.5 m