An independent variable is what one controls and changes. A dependent variable is not controlled and is determined by the independent variable.
The independent variable is the hours doing landscaping work.
The dependent variable is the total earnings.
Hope this helps!!