Each gallon of gas costs $3.50. Sheridan spent $42.00 on gas. Which value of x represents the number of gallons of gas that Sheridan has purchased?