Thomas is on a road trip to San Francisco. At this point, he is already 140 miles away from his house. He continues driving at a rate of 65 miles every hour. Which equation represents the number of hours, h, it takes Thomas to be 500 miles away from his house. Based on the given information, how many hours will it take Thomas to be exactly 335 miles away from his house?
A. 1 hour
B. 2 hours
C. 3 hours
D. 4 hours