It's easier to just think about it intuitively. It's obvious from an intuitive point of view that increasing the distance will lead to intensity going to down (e.g. if you take a heat source away from you, you feel less heat) and increasing the power of the source leads to intensity going up (e.g. if you have a heater near you and increase it's power, you'll feel more heat). So all you need to know now is how the factors work.
Just know that if you increase the distance by some factor, the intensity goes down by the square of the factor that the distance increased by (this is the inverse square law said in words). Also, if you increase the source's power by a factor, the intensity goes up by the same factor.
So for instance, if you double a distance, the intensity will go down by a factor of 22 = 4. Then if you double the source's power, the intensity compared to before doubling the power will be increased by a factor of 2.
A combination of increasing by a factor of 2 and decreasing by a factor of 4 is an overall impact of decrease by a factor of 2, i.e. halving (because if you double a number and then quarter it, overall it's halved).