How to find independent and dependent variables