Both use oxygen, both produce energy, both give out carbon dioxide as the result and the overall chemical reactions are the same.
Hope this helps :)
The independent variable is the detergent and the dependent variable is the cleanness of the cloths because it depends on how much detergent you use.
The following that is a characteristic that could be applied to both living and nonliving things can contain mostly carbon, hydrogen, oxygen, and nitrogen.