My best guess would be that the independent variable is A. the amount of miles Larry drives. An independent variable is one that isn't changed by the other variables you are trying to measure. The amount of miles Larry drives doesn’t depend on anything in this situation. The question only mentions gallons of gas and miles so I would think you disregard the type of roads Larry drives on and type of car Larry drives. The amount of gasoline Larry uses is a dependent variable because it depends on the amount of miles Larry drives. Hope this helps
Probability is defined as the number of desired outcomes over all possible outcomes. Lets say each second is one possible outcome. This means there is 30 different desired outcomes out of 60 possible outcomes. The probability therefore is 30/60, simplified to 1/2.