Henry has $21.50 to ride the trolley around San Francisco this week. It will cost him $0.50 every time he rides. Identify the dependent variable and the independent variable in this scenario.