A train averages 50 miles an hour between two cities. What is the independent and dependent variable? how would you write the equation?