You would be changing the intensity of the exercise (ex. Light jogging vs sprinting)
That would be the independent variable, that you control and change
The dependent variable would be your breathing rate, as you are not changing it, rather you are watching it change based on your other variable (how intense the exercise is)