Dudley is biking. He wants to cover 40 miles. If he travels 30 miles every 2 ours, what is the equation of a line that models y, the number of miles he has left to travel, after biking x hours?